<script src="js/jquery.js"></script> <script src="json/jquery.form.js"></script> <script> var j = $.noConflict(); (function() { j('#isyform').ajaxForm({ success: function(xhr) { }, complete: function(xhr) { alert(xhr.responseText); $('#frame').load('isylist.php'); } }); })(); </script>
<div id="frame"> <form action="saveisy.php" method="post" id="isyform"> <input type="text" id="datecollected" name="datecollected" class="datepicker" /> <script> $(document).ready(function () { $("#datecollected").datepicker({ changeMonth: true, changeYear: true, dateFormat: "d-m-yy" }); }); </script> <input type="submit" id="save" name="save" value="Save" /> </form> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)