Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery convert a string to an array

var numbersString = "1,2,3,4,5,6";
var numbersArray = numbersString.split(',');
 
PREVIOUS NEXT
Tagged: #jquery #convert #string #array
ADD COMMENT
Topic
Name
6+9 =