Can you really "submit a form"? I know you can send GET or POST data, but that's not really the same thing as submitting a form. Particularly since you have to manually take the data from the form fields and build the GET/POST data to send to the URL. Don't you?
Tracy Dryden
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
afaik, i don't think there's a difference... typically "submitting" a form means triggering a POST of the form's field's values. so whether this is done via a submit button or sending a POST via xmlhttp shouldn't matter to the receiving url/form action.
You're right, if you do it correctly it won't matter to the receiving program at all, but it matters a great deal to the sending program. When you submit a form the browser automatically takes the data from the form fields and creates the query string or post data to send to the form processing program. When you use an HTTP request you must take the values of the form fields and create the query string or post data yourself.
Tracy Dryden
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.