Revision: 16174
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 28, 2009 10:51 by jamesming
Initial Code
<script type="text/javascript"> $(document).ready(function(){ $("form#formId").submit(function() { inputField = $('#inputFieldId').attr('value'); $.ajax({ type: "POST", url: "yourpage.php", cache: false, data: "inputField ="+ inputField, success: function(html){ $("#ajax-results").html(html); } }); return false; }); }); </script>
Initial URL
Initial Description
Initial Title
Simple JQUERY AJAX POST
Initial Tags
post
Initial Language
jQuery