Advertisement
Guest User

Untitled

a guest
Jan 16th, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <form class="ajax" action="%SCRIPTURLPATH{rest}%/...">
  2. ...
  3. <input type="submit">
  4. </form>
  5.  
  6. %ADDTOZONE{"script" id="ajaxform" text="<script>
  7. jQuery(function($){
  8. $('form.ajax').ajaxForm(function(){
  9. alert('submitted');
  10. });
  11. })
  12. </script>"}%
  13. %JQREQUIRE{"form"}%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement