32
rated 0 times
[
37]
[
5]
/ answers: 1 / hits: 135446
/ 12 Years ago, sun, april 22, 2012, 12:00:00
Possible Duplicate:
Check if a variable contains a numerical value in Javascript?
How do I check if variable is an integer in jQuery?
Example:
if (id == int) { // Do this }
Im using the following to get the ID from the URL.
var id = $.getURLParam(id);
But I want to check if the variable is an integer.
More From » jquery