I can only modify the code in the ajax call. The ajax call occurs when I click the submit in form named $(\'#form1\').
$(\'#form1\')
$(\'#form1\').submit(func
You can also use preventDefault()
preventDefault()
http://api.jquery.com/event.preventDefault/