Click does not trigger form input :(

Click does not trigger form input :(

Hello everyone ;)

I was wander whether someone one could help me with my problem 

I have the following code which triggers below form

  1. <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
  2. <script type="text/javascript">
  3.  $(document).ready(function() {
  4.     $("#processing").live("click", function(){
  5. var proid = $("#proid").val();
  6. var oid = $("#oid").val();
  7. $.post("orderstatus.php", { proid : proid, oid : oid }, function(data) {
  8. $("#update").html(data);
  9. });
  10. return false;
  11. });
  12.  });
  13. </script>

This is my form

  1. <form id="statusform" name="statusform" method="post">
  2. <table width="507" height="64" border="0" align="left">
  3.   <tr>
  4.     <td colspan="3" align="center">
  5.       <div id="update" align="center"></div>
  6.     </td>
  7.     </tr>
  8.   <tr>
  9.     <td width="173" align="center">
  10. <input type="button" name="processing" id="processing" value="PROCESSING ORDER" />
  11. <input type="hidden" name="proid" id="proid" value="processing" />
  12.             <input type="hidden" name="oid" id="oid" value="<?php $ui=$_GET['oid']; echo $ui; ?>" />
  13.       </td>
  14.     <td width="167" align="center">
  15. <input type="button" name="processed" id="processed" value="ORDER PROCESSED"/>
  16. <input type="hidden" name="oproid" id="oproid" value="processed" /></td>
  17.     <td width="147" align="center">
  18. <input type="button" name="delete" id="delete" value="DELETEORDER" />
  19. <input type="hidden" name="deleteo" id="deleteo" value="delete" />
  20. </td>
  21.   </tr>
  22. </table>
  23. </form>

orderstatus.php includes this 

  1. <?php
  2. //Update the status  of the site.
  3. $orderid=$_POST['oid'];
  4. $processing=$_POST['proid'];
  5. $processed=$_POST['oproid'];
  6. $delete_order=$_POST['deleteo'];

  7. if($processing)
  8. {
  9. $update=mysql_query("UPDATE shop_detail SET orderstatus='$processing' WHERE s_id='$orderid'");
  10. echo "<font size='3' color='#333' face='Geneva, Arial, Helvetica, sans-serif'>Order updated to processing.</font>";
  11. }

The problem I am having is that when I click the button nothing happens  :(

Can someone advice what i am doing wrong please ;)

Kind Regards;

Arek