Author: johan Language: javascript
Description: Not specified Timestamp: 2012-08-22 16:01:24 -0400
View raw paste Child paste by: Not specified Reply
  1.         $(document).ready(function () {
  2.                 $("#submit").click(function () {
  3.                         var $moo = $("#form"),
  4.                                         fooVal = $moo.find('input[name="name"]').val();
  5.  
  6.                         $.post("http://localhost:8080/openjpa-sandbox/rest/test/post", { foo:fooVal },
  7.                                         function () {
  8.                                                 alert("This doesn't come up...");
  9.                                         }
  10.                         );
  11.                 });
  12.         });
View raw paste Child paste by: Not specified Reply