2009/8/17 Rahul <[email protected]> > > Hi > I want to refresh my webpage once after loading completely. I am using > this code for this > > <script language=" JavaScript" > > function MyReload() > { > window.location.reload(); > } > </SCRIPT> > > and calling > <Body onLoad=" MyReload()" > on body part of my html file > > but this is not working > can anyone tell me where am i going wrong?
First problem is that you are asking a JavaScript question in a GWT group :-) Second problem is that your webpage will loop, endlessly loading and reloading. This a pretty basic a mistake, so maybe it would be a good idea to search for some JavaScript tutorials or sign up to a JavaScript beginners' group. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
