send form data with jquery to php file on_change?

Sigher

New member
hello

so I'm programming a little thing that needs to be able to send form data to a php file and register it as a session variable each time the input field changes

so as a person types into a field it sends the data to the php file and it updates the session with the new value but here is the real catch the session variable needs to match the form variable name

so if the input is name the session will have the name of name and if it is size the session will be size

$_SESSION['size'] = value
$_SESSION['name'] = value

i know how to do the php i just don't know how to get the jquery to send the form variable name and value to the php file

please help thanks in advance
 
Back
Top