| Author |
Message |
hoffmanjon
Joined: 04 Jan 2007 Posts: 1
|
| Posted: Thu Jan 04, 2007 - 9:59 am Post subject: Refreshig/reloading Widget |
|
|
Hi,
Is there anyway to refresh/reload a widget automatcily using javaScript? Basiclly I would like to be able to refresh/reload the widget (as if the control-r was pressed) from my code.
Thank you for any help you can provide
Jon |
|
| |
|
| |
EricWood
Joined: 20 Nov 2006 Posts: 26 Location: Austin
|
| Posted: Sat Jan 06, 2007 - 12:06 am Post subject: |
|
|
Not that I know of...
You shouldn't need to do that, though. Check your code; there's probably a way. |
|
| |
|
| |
galendw
Joined: 30 May 2005 Posts: 71 Location: Here.
|
| Posted: Sat Jan 06, 2007 - 9:41 am Post subject: |
|
|
There is a way:
| Code: | | window.location.reload() |
However, I would recommend against using it. It doesn't do the swirl-around thing (oh no!), and, more importantly, it doesn't create the widget object in the reloaded version.
(Disclaimer: I know this was true a while ago. Apple might have changed this by now.) _________________
 |
|
| |
|
| |