i have url http://localhost/testo.php?id1=20&qty1=5&id2=13&qty2=4&id3=23&qty3=5.5 and so on with id4 etc etc
and success get the parameter with code like below:
var a = location.href;
var b = a.substring(a.indexOf("?")+1);
the result value of var b is :
id1=20&qty1=5&id2=13&qty2=4&id3=23&qty3=5.5
i want to parse this result value of var b and also the index which is 1,2 and 3 into javascript integer/decimal variable so the result can be like below:
id1 = 20
qty1 = 5
id2 = 13
qty2 = 4
id3 = 23
qty3 = 5.5
and the most important thing is how to get the index which is 1,2 and 3
Please help... >.<
Very Thanks :)