搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Javascript problems with framesets

  • 1 个回答
  • 53 人有此问题
  • 1 次查看
  • 最后回复者为 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

所有回复 (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

由mmdev于修改