yes we can submit a form without submit button. there are number of ways for this:-
1.On onclick event by javascript. you can call a javascript function in which you can submit a form.for this we have use the srcipt document.forms[0].submit();
2.On body load i.e.when full dody of the page is loadedthen onLoad function in body tag you can call a javascript function which will submit the form as in the first case.
3.You can use XmlHTTPRequest object (AJAX) to submit a form. for this AJAX srcipt the page will not refresh and form will submited.
Saturday, July 5, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment