I need to make a descision based on the value of a variable in the form bean. So i am thinking that cannot be accessed before the page gets loaded?
Thanks Uday On 9/28/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
You can put it in the onload event of the body. That gets called as soon as everything is loaded. (*Chris*) On 9/28/06, Uday Chandra Karrothi <[EMAIL PROTECTED]> wrote: > > Is there a way we can place it in such a way that the alert is after > all the page is completely loaded. I am using tiles. So i might have > to place that after the footer? . > I do not want to define another footer for just this page. > > Thanks for your help Stephan. > Uday > > On 9/28/06, Uday Chandra Karrothi <[EMAIL PROTECTED]> wrote: > > Hi Stephan, > > Thanks for the reply. > > > > I feel liek i do not know any html at all!. I thought all javascript > > needed an eventhandler. I guess not. > > > > Thank you once again. > > > > Uday > > > > > > On 9/28/06, Stephan Koops <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > try on the jsp: > > > > > > <script type="text/javascript"> > > > alert("Info to show"); > > > </script> > > > > > > Stephan > > > > > > Uday Chandra Karrothi schrieb: > > > > Hi guys, > > > > > > > > I am doing validation and since that validation is complicated. I am > > > > submitting the page. and then i want to display the result. > > > > > > > > Now the problem is i need an event to through an alert window. > > > > i cannot say alert(""); in the jsp. > > > > > > > > Can i use soemthing lie > > > > <% > > > > JDialog temp = new Jdialog() > > > > %> > > > > > > > > ... > > > > > > > > when i get back i have to pop up a window. i can display the result > on > > > > the page but i want to pop up a window in the page. > > > > > > > > Thanks guys, > > > > Uday Chandra Karrothi > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Never explain--your friends do not need it and your enemies will not > > believe you anyway--Elbert Hubbard > > > > > -- > Never explain--your friends do not need it and your enemies will not > believe you anyway--Elbert Hubbard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Never explain--your friends do not need it and your enemies will not believe you anyway--Elbert Hubbard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]