Current location: Hot Scripts Forums » General Web Coding » JavaScript » exeCommand("Refresh") in Safari


exeCommand("Refresh") in Safari

Reply
  #1 (permalink)  
Old 07-13-05, 02:23 PM
shermski shermski is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy exeCommand("Refresh") in Safari

hi,

im a web designer trying to implement a web application that will work across both IE and Safari..

have used the exeCommand to refresh a page once content from another has edited its contents that is stored in a DB...

this works fine in IE but will not work in safari..seems as the javascript command exeCommand("refresh") is not supported in safari (even though a number of texts say it is)..

any help on why this doesnt work, or an alternative that wil work in safari/safari+ IE would be greatly appreciated..

thanks
Reply With Quote
  #2 (permalink)  
Old 07-16-05, 01:44 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe you can use document.location.reload() instead? Send true as an argument if you want it to refresh the page from the server instead of the cache.
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing iframe src property not working in Safari AmberLR JavaScript 1 04-08-09 10:41 AM
How to change opacity of the image support on Safari khanhlu JavaScript 0 01-25-05 01:11 AM
Safari Popups ornoc JavaScript 1 03-02-04 11:33 AM


All times are GMT -5. The time now is 10:52 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.