homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

Remote Scripting with Hidden IFrame
Back button has probs in Firefox

10+ Year Member

Msg#: 411 posted 1:44 pm on Jun 29, 2004 (gmt 0)

Hi I'm trying Remote Scripting as in this article on Apple's site: [developer.apple.com...]

The problem is that the back button solution does not work with Firefox.

MOre generally, the back button problem seems endemic to some browsers and there doesn't seem to be a good solution.

Anyone have experience with this, or able to accomplish the same thing with a different technique?

[edited by: BlobFisk at 1:54 pm (utc) on June 29, 2004]
[edit reason] Fixed link [/edit]



WebmasterWorld Senior Member blobfisk us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 411 posted 5:11 pm on Jun 29, 2004 (gmt 0)

This is a common problem and when dealing with iFrames the behaviour of the back button depends on where the focus is set.

You can accomplish this with the likes of Java Applets, Flash, ActiveX plugins etc. But iFrames are the easiest way to do this.


10+ Year Member

Msg#: 411 posted 5:43 pm on Jun 29, 2004 (gmt 0)

I think I'm going to use XMLHTTP, which is supported in IE, Safari, and Firefox. It is faster and cleaner than hidden Iframes, and doesn't affect the back button.

Additionally, gmail uses it, so those browsers that are behind the times (ie, Opera) will most likely catch up soon.


10+ Year Member

Msg#: 411 posted 11:58 am on Jun 30, 2004 (gmt 0)

A different approach to remote scripting that I use a lot is to dynamically create <script src="myasp.asp?param=value&param=value" type="text/javascript"> elements... the script src file is then dynamically generated to do whatever it needs to do:

var oRsElm = document.createElement("script");
oRsElm.src = "myasp.asp?param=" + sValue;
oRsElm.type = "text/javascript";

Works fine in IE5+ and should work in Mozilla etc.

The main limitation is that you can only use the GET protocol and therefore are limited in the amount of data you can send to the server. It can also be a little difficult to debug.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved