Find if a string contains a substring in JavaScript!


This post will explain how to find a substring in a string using pure JavaScript. Let’s see how can we achieve this.

The above script will show an alert ‘true’ because sub-string ‘tin’ is present in the string ‘testing’.… Continue Reading


How to check if an element is hidden in jQuery?


There are many ways to check if an element is hidden using jQuery. I will list out mostly used methods in this post. Let’s say the element has id=”test”. Then the code will be, Method 1: 

Working example for… Continue Reading


PHP Script to Generate Multiplication table!


Hello students and dear programmers. Today’s script we are going to see how to generate a multiplication table using PHP script.

The above script is so simple and the output will be something like this. 7 * 1 =… Continue Reading