Hi
I have this function in javascript file which works perfectly fine in Firefox / Chrome but for some reason throwing 'Object doesn't support this property or method' error on IE 8 .
Any ideas how should I rewrite the function so it is working in all sort of IEs?
validateStep1: function () {
var digitOnly=/^\d/;
var result = $('#Step1DropDownIndustry option:selected').val() == 0 ||
$('#Step1DropDownIndustry option:selected').val() == 0 ||
$('#Step1Annual').val().trim() == '' ||
$('#Step1Annual').val().search(digitOnly) == -1
return result;
},
Cheers