Search method in javascript The JavaScript search() method searches a string for a specified value, or regular expression, and returns
Category: JavaScript
JavaScript
Difference between == and === in JavaScript
Difference between == and === in JavaScript === ‘strict comparison’ means is the same type and equal ==
JavaScript slice method
The JavaScript slice method extract parts of a string and returns the extracted parts in a new string. Use the
JavaScript split Method
The JavaScript split method is used to split a string into an array of sub strings , and returns the
JavaScript substr Method
The JavaScript substr method extracts parts of a string, beginning at the character at the specified position, and returns the
JavaScript substring method
The JavaScript substring method extracts the characters from a string, between two specified indices, and as a output there is
Javascript Get User IP Address, Latitude, Longitude, Country, City, State Details
Main code of Javascript Get User IP Address,Latitude,Longitude,Country,City,State: <title>Get User Details IP Address, city, country, state, latitude, longitude </title> <script
keep session alive in asp.net
keep session alive in asp.net Add below script in Master Page : var count = 0; var max = 100;
Print the contents of DIV
We can simply use below java script function to print a web page or Print the contents of DIV. Here
call code behind method from javascript, asp.net
Call code behind method from javascript, asp.net There are two ways to access code behind method in asp.net using JavaScript: Using
Enable or Disable ASP.NET Validation on Client Side
Enable or Disable ASP.NET Validation on Client Side We can enable or disable the validation controls of asp.net using the ValidatorEnable()