Javascript String Methods with example

In this tutorial, you will learn the javascript string methods with examples one by one as given below length:- This property returns the length of the given string which means it counts every character of the string and returns the total number of characters of the string. Example:- Output:- Below paragraph returns the length of … Read more

Generate Javascript Random Number between 1 and 10

Hi friends, in this tutorial you will learn how to generate javascript random number between 1 and 10 which means you have to return all the numbers except 10 which means zero to nine. In order to generate random numbers, you should have the idea of two javascript functions as mentioned below Math.random() Math.floor() Math.random( … Read more

HTML Table with Fixed Header and Scrollable Body

Hi friends, In this tutorial, you will learn how to create an HTML table with fixed header and scrollable body using Datatables. The fixed header property helps us to view the header name at a fixed position against the table rows. Actually, there are so many tutorials on this topic such as using bootstrap by … Read more

Create Captcha Code in HTML and Javascript

Hi friends, in this tutorial, you will learn how to create captcha code in HTML and Javascript. There are various ways to generate captchas such as Google ReCaptcha and other captchas etc. Also read, Google Maps Add Marker Using Maps Javascript API and HTML The logic of captcha code in HTML and Javascript First of … Read more

Google Maps Add Marker Using Maps Javascript API and HTML

Hi friends, in this tutorial, you will learn the example of google maps add marker using maps javascript API and HTML. As we all know that a marker is usually a point of something but in this case marker identifies a particular location on the Google map and is also referred to as an icon. … Read more

Allow Only Numbers in Textbox Javascript

Hi friends, today in this tutorial you will learn how to allow only numbers in textbox javascript. Also, there are other ways to do this but it will be done with the help of the javascript event handler function onkeypress() by passing an event parameter. Also read, Google places autocomplete example using maps JavaScript API … Read more