guys this is my text box
a. <input type="text" id="val" value="1,23|20,70|40,100|64,120" >
my question is how can i output something like this.?
var chart = [[1,23 ],[20,70],[40,100],[64,120]];
any idea? your help would be greatly appreciated thanx in advance.