havey
07-08-2003, 04:21 PM
I have a url as such:
page.htm?age=10&edu=20&occ=14&gua=10& reg=5&tot=16&lan=12&ilt=5&ad1=5
and based on the selected options on the previous form the url may be as long as this:
page.htm?age=10&edu=20&occ=14&gua=10& reg=5&tot=16&lan=12&ilt=17&ad1=5&ad2=10&ad3=10&ad4=7
But the good news is that i only need the value pairs upto "ilt".
How could the srting be put into an array so that i could call only the value into the html, something like so:
document.write (+ dataArr[1])
document.write (+ dataArr[2])
etc....
thanks
page.htm?age=10&edu=20&occ=14&gua=10& reg=5&tot=16&lan=12&ilt=5&ad1=5
and based on the selected options on the previous form the url may be as long as this:
page.htm?age=10&edu=20&occ=14&gua=10& reg=5&tot=16&lan=12&ilt=17&ad1=5&ad2=10&ad3=10&ad4=7
But the good news is that i only need the value pairs upto "ilt".
How could the srting be put into an array so that i could call only the value into the html, something like so:
document.write (+ dataArr[1])
document.write (+ dataArr[2])
etc....
thanks