Alright what I am trying to do is spit a string.
original string is: 1-F-2-F-3-F-4
How many a user specifies so say they want two.
Splits to: 1,2
or say they want 3
How many a user specifies so say they want three.
Splits to: 1,2,3
Here is the tricky part.
I would like to send back a
line.
See the var id would be the split string numbers.
How can I do this?
I know you can do this in PHP easy, but I have to have this part client side.
Aka handy dandy JavaScript.
For any help I get here is a thank you in advance. Thank you!
original string is: 1-F-2-F-3-F-4
How many a user specifies so say they want two.
Splits to: 1,2
or say they want 3
How many a user specifies so say they want three.
Splits to: 1,2,3
Here is the tricky part.
I would like to send back a
Code:
document.getElementById(id).style.color="#FFF";
See the var id would be the split string numbers.
How can I do this?
I know you can do this in PHP easy, but I have to have this part client side.
Aka handy dandy JavaScript.
For any help I get here is a thank you in advance. Thank you!