Passing all stuff in a form using jquery/ajax ..?
So I have a form with a buncha radio buttons.
Now im trying to use ajax/jquery to do the submitting live. Is there a way to have a link act as a submit button which when clicked passes all the stuff in the form to some processor.php file through ajax.
For example say there are 3 radio buttons.
name=1 value=3,
name=10 value=1,
name=59 value=5
When hitting submit, it should just pass the array of shtuff to the php file.
.post() seemed like it may do the job, but it looks like i have to pass data along, and i dont know how to pass along the post information. since the radio buttons are dynamically generated i cant hard core the form elements to pass along. this is why i just want to pass the whole form to my php since i know how to handle the data there.