Nady Blog
Cloud, Google, Amazone, Azure, Web Technology, Software
Wednesday, February 20, 2013
javaScript , jQuery , Array Search and delete Array Element
javaScript , jQuery , Array Search and delete Array Element
function Test() {
var myArr = [4, 87, 66];
var index = jQuery.inArray(87, myArr);
alert(index);
myArr.splice(index, 1);
alert(myArr);
}
naadydev@gmail.com
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment