HI Ian, thanks for replying i have started looking at some tutorials for javascript but i have some more confusion.
all coding i did in gwt was in java in the client class, so for this functionality also i need to code in the client class? or not? i need to do javascript for tht. and if i can do in java, what is the function ( because when searched it always shows me how to do with javascript and not in java) On Aug 17, 6:00 pm, Ian Bambury <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
