This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Javascript problems with framesets

  • 1 reply
  • 53 have this problem
  • 1 view
  • Last reply by mmdev

more options

Hi,

we face some serious problems when using Firefox 4 with a SAP frameset-based webshop. It's using Javascript methods to access frames per name. It was working for all versions of Firefox up to 3.6.xx without any problems. Now, sometimes the frames are 'undefined', though they are loaded. As I'm the developer, the customer is asking me to solve the problem. But until now, I was not able to find a solution.

Is there a known bug with Javascript and framesets or has something changed in Javascript handling and I need to change the coding?

Thanks in advance, mmdev

Hi, we face some serious problems when using Firefox 4 with a SAP frameset-based webshop. It's using Javascript methods to access frames per name. It was working for all versions of Firefox up to 3.6.xx without any problems. Now, sometimes the frames are 'undefined', though they are loaded. As I'm the developer, the customer is asking me to solve the problem. But until now, I was not able to find a solution. Is there a known bug with Javascript and framesets or has something changed in Javascript handling and I need to change the coding? Thanks in advance, mmdev

All Replies (1)

more options

Update: The web shop is based on a Struts framework. With the help of the Add-on 'View frames' I found out something strange. If an action is loaded in a frame (something.do) instead of a JSP directly, the frame's name is 'object' instead of the real name in Firefox 4 (see screenshot). That explains why the frames are undefined, but not why they are not named correctly? What could be the reason? Any idea?

Thanks, mmdev

Modified by mmdev