I am having an array like this format
var aa = ["a","b","c","d","e","f"];
var categoryid = ["a","x","e","w","q","p"];
And I wants to check this list like this
for(var ii = 0; ii < aa .length; ii++){
iid += " && category != "+aa [ii];
}
Also I need to check condition like this,
if(categoryid != 0 iij) {
alert("value not present");
}
Here this condition is not working like this exactly. Here I need like this format
if(categoryid != 0 && categoryid != 'a') {
alert("value not present");
}
Please help me..
category.idis not equal to any value within the array?iijin the conditionif(categoryid != 0 iij)? And also is itcategoryidorcategory.id?