Im having a problem using an isNumeric jQuery function to check if a variable is a number.
I am getting an error
Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'isNumeric'
Here is my code
var scroll = 4;
$.isNumeric(scroll);
if (false) {
scroll = 0;
tabChange(menuTab, page, scroll);
} else {
tabChange(menuTab, page, scroll);
}
I thought this may be caused by having my code being run before jQuery has loaded but this is not the case.
Also the jQuery documentation is very unclear to me.