in array jquery
if(jQuery.inArray("test", myarray) !== -1)
in array jquery
if(jQuery.inArray("test", myarray) !== -1)
how to take create array using jquery
var length = 5;
var array = [];
var i = 0;
for (i = 0; i != length; i++){
array.push(i)
//array.push is used to push a value inside array
}
console.log(array);
//console.log is used to check array value inside your console
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us