D
dee
Hi
How can I cause a postback in code, e.g., without clicking on a button?
Thanks.
Dee
How can I cause a postback in code, e.g., without clicking on a button?
Thanks.
Dee
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

ural said:try document.forms[0].submit();
dee said:Hi
How can I cause a postback in code, e.g., without clicking on a button?
Thanks.
Dee
Brock Allen said:Well, it's not quite that simple. You use this method to get a block of
javascript and then you have to attach it somewhere in the rendered HTML
(typically in some client side javascript event). Once the client side
event fires, then it will execute this javascript which triggers the
postback.
-Brock
DevelopMentor
http://staff.develop.com/ballen
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.