Parsing Pasted Text with Jquery (no server side processing)
I need a solution to do the following
1.User pastes some text into a textarea
2.User clicks a button "Autofill"
3.On press of the button, the various lines of the pasted text are put into the appropriatly named form fields.
Here is an example of how the pasted text is formatted:
I've started work on this project here:
First Name Jimberly
Last Name Hagg
Any help/guidance (including coding examples) would be appreciated!
(By the way my jquery to disable the "Continue" button is buggy - it enables the button if you enter some text into one of the forms, but then if you delete it, this isn't noticed by the function and it still keeps the "Continue" button enabled)