Jquery is a dom manipulation tool.
It's not required for what you're trying to do.
Try this:
var obj = ['9869472915', '9930229815', '022-22551515', '07965869845', '07966859863'];
var checkNumber = obj;
var indian = false;
for(var i in obj) {
var num = obj[i];
if(num.indexOf(9) == 0)
{
indian = true;
}
if(indian) break;
}
if(indian) {
alert('Indian Mobile Number Found.');
}
else {
alert('Uk mobile Number Found');
}
Jquery uses CSS selector syntax.
http://www.w3schools.com/cssref/css_selectors.asp[
^]
What Jquery expects is an array of CSS selectors, not an array of values. Jquery will try and select DOM elements using the selectors you've provided. Which in your case will most likely result in no matches.