Finally I have created the form. But I have got a new problem. After submitting the form, the user redirects to the "contact.asp" page which is the action of the form.On contact.asp page, I have code for sending the form data to server. But I want user to remain on the same page which contains the form even after executing form action="contact.asp". i.e. when user clicks on submit button, the form should send the data to server and the content of the page should be available to the user.