Select element by its attribute in jQuery

By Faruque Ahamed Mollick

Selecting an element by its attribute is possible and it is so easy also in jQuery. Now we are going to see how to select an element by the attribute using jQuery. At first, let.... Read More

Easy to use PHP function to show random image from a particular directory

By Faruque Ahamed Mollick

In this post, we are going to see a PHP function that is very easy to use and can be used to show a random image from a particular directory on our web page. Below is the code of o.... Read More

Delay in loading external JavaScript file

By Faruque Ahamed Mollick

Previously we have learned how to delay in executing JavaScript code from this post – How to delay in loading JavaScript code?. We used setTimeout() JavaScript window metho.... Read More

Merge (Combine) Two or More Arrays Into A Single Array In Java

By Saruque Ahamed Mollick

If you are looking for the easiest way to merge or concatenate multiple arrays into a single array using java, you are at the right place. In this post, we gonna learn how to conca.... Read More

Java Program To Get The Sum Of All The Divisors Of A Number

By Saruque Ahamed Mollick

Here is the easy Java Program to print the summation of all the divisors of an integer number. That means, suppose we have an Integer: 12 as input The divisors of 12 are, 1,2,3,4,6.... Read More

Get factorial of any number in Java Program

By Saruque Ahamed Mollick

In this tutorial, we will learn how to get the factorial of any number in Java. Let’s first learn how to determine the factorial value of any number. Suppose we have to find .... Read More

How to delay in loading JavaScript code?

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to Delay in loading our JavaScript code on a web page. Suppose we want to delay our JavaScript code for few seconds. Here we are going to .... Read More

How to create a constant in PHP?

By Faruque Ahamed Mollick

In PHP, a constant is an identifier or simply a name that store value. the constant value can not be changed during the script. Constants can be defined and then accessed anywhere .... Read More