Get exact timestamp of php date value in javascript

How can we get the exact timestamp value of date in Javascript, which is generated from server side. Suppose date format is dd-mm-yyyy. See the example given below:

 

Use the above Javascript function to get the exact timestamp of date value on client side.

Read More

Change browser URL without reloading a web page

Here, we can see the way to change the browser URL without reloading a web page using Javascript. It is a HTML5 property. It is very easy to change the browser URL while using Ajax if we want. See the example given below:

Also please note that this method never causes a hashchange event to be fired, even if the new URL differs from the old URL only in its hash. For more details see

Read More