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
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.
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.