Browse By

Category Archives: Discussion


How to Split String, count element and implement loop in Jquery?

Split Sting with function : Count element: Complete code is give below. explain code : string.split(‘,’) is used for spliting string into arrray which can be achieve by using single value like alert(nameArr[1]) nameArr.length is userd for counting Array length for(var i = 0; i