|
[req] Toggle scripts
|
|
Mar. 02, 2009, 03:48 PM
Post: #5
|
|||
|
|||
|
RE: [req] Toggle scripts
sidki;
While you're correct about "document.write" not being able to execute correctly after the page has loaded, you can overcome that shortcoming by appending a forced refresh/reload. We used to use simply "document.location.reload(true)", but that now fails in some browsers. The fix seems to be too simple: "window.location.href = window.location.href". There are the usual derivatives of course, such as frames, forms, even ordinary images.... anything that can be assigned a URL is subject to being refreshed. Put the appropriate DOM item in your statement, call it at the end of your function, and you should be good to go. ![]() HTH Oddysey I'm no longer in the rat race - the rats won't have me! |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
[req] Toggle scripts - lnminente - Feb. 26, 2009, 08:52 PM
RE: [req] Toggle scripts - sidki3003 - Feb. 26, 2009, 10:13 PM
RE: [req] Toggle scripts - lnminente - Feb. 26, 2009, 10:42 PM
RE: [req] Toggle scripts - sidki3003 - Feb. 26, 2009, 10:58 PM
RE: [req] Toggle scripts - Oddysey - Mar. 02, 2009 03:48 PM
RE: [req] Toggle scripts - sidki3003 - Mar. 02, 2009, 05:44 PM
RE: [req] Toggle scripts - lnminente - Mar. 03, 2009, 05:37 AM
RE: [req] Toggle scripts - Oddysey - Mar. 04, 2009, 05:40 PM
RE: [req] Toggle scripts - lnminente - Mar. 12, 2009, 03:30 PM
RE: [req] Toggle scripts - whenever - Apr. 01, 2009, 12:52 PM
RE: [req] Toggle scripts - sidki3003 - Apr. 01, 2009, 01:42 PM
RE: [req] Toggle scripts - whenever - Apr. 01, 2009, 03:00 PM
RE: [req] Toggle scripts - sidki3003 - Apr. 01, 2009, 03:28 PM
RE: [req] Toggle scripts - whenever - Apr. 01, 2009, 04:03 PM
RE: [req] Toggle scripts - sidki3003 - Apr. 01, 2009, 04:35 PM
RE: [req] Toggle scripts - lnminente - May. 07, 2009, 07:46 PM
|

Search
Member List
Calendar
Help






![[-]](images/ONi/collapse.gif)