java - Submitting form to Struts Action using AJAX -
function callprocessfastafiles(){ var form=document.forms[0]; document.forms[0].action="/bioinformaticsonlinetool/fromprocessfasta.do"; document.forms[0].submit(); }
i calling function send form server. how can change using ajax after server done, response comes on same page?