[jQuery] Split Form field into array
I really hope someone can assist:
I am trying to take a form field:
<textarea name="PartNum" cols="15" rows="5" id="PartNum" value=""></
textarea>
The user will put in part numbers , space, qty, carraige return ,then
another entry on the next line....it will look like this:
bd1111 2
bd1200 5
I want to split this into two querystring variables before submitting
to next page:
mypage.asp?Partnum=bd1111,bd1200&Qty=2,5
I have looked at the serialize() and array functions , but I can't
figure it out.
thanks very much