Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Javascript problems with framesets

  • 1 antwoord
  • 53 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van 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

Alle antwoorden (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

Bewerkt door mmdev op