Hey all i am trying to figure out a way to send off my data on my ASP form without having to goto another page to do so. Like once the user clicks on the submit button, an overlay comes on and says "sending data", and in the background it does the same things as it would if it submitted to the page where i have to send the data and stuff. Here is some of my form code: <form action="SendFB.asp" method="POST" name="frmFB"> <input name="txtFName0" type="text" class="TextBoxes" id="txtFName0" tabindex="1" size="30" /> <input name="txtFName1" type="text" class="TextBoxes" id="txtFName1" tabindex="1" size="30" /> <input name="txtFName2" type="text" class="TextBoxes" id="txtFName2" tabindex="1" size="30" /> <input name="txtFName3" type="text" class="TextBoxes" id="txtFName3" tabindex="1" size="30" /> ...... <img src="Send.png" alt="" width="260" height="65" id="SubNow" onClick="document.frmFB.submit();"/> </form> Code (markup): Now once the user clicks on the button it just sends them to the SendFB.asp page that has the asp code to store the forms values into the database, etc etc. So how would i go about just staying on the main page without going to the SendFB.asp page to unload the data to the mySQL database? Thanks for your time David
if you do not have an action set then the page will post back to itself and you just need a line of code to detect that it is a postback and firstly run the code to process the form and secondly give some form of feedback to the user that the data has been received and processed.