JQuery & PHP

JQuery & PHP

Hi . Very new to all this. I have the following form:
  1. <form id="name="UpdateStatus" action="" method="post">

  2. <select>
  3. <option value="1">Defcon Green</option>
  4. <option value="2">Defcon Amber</option>
  5. </select>
  6. <p><input type="radio" name="StatusMessage" value="default" checked>Default Status</input>
  7. <input type="radio" name="StatusMessage" value="last">Last Status</input></p>
  8. <textarea rows="5" cols="70" name="status"></textarea>
  9. <p><input type="submit" name="submit" value="Update" /></p>

  10. </form>
I want to use jQuery so that when the user changes either the select or the radio buttons, it sends both variables to a php script, which looks them up in a database and populates the textarea with the appropriate text.

I have the PHP and the MYSQL, but what I would like help with is:
  • Is it possible to have an onchange for either control, or do I have to duplicate it?
  • How do I send the form data to a PHP script with onchange?
  • In the PHP script, how do I get the variables?
  • When the PHP script returns the text, how do I access the result from JQuery?
Any help would be really appreciated.

Thanks
Chris