Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

With Firefox 9.0.1 an app using a javascript confirm command doesn't display the message. Popup blocker is turned off for this app's domain.

  • 1 odpoveď
  • 2 majú tento problém
  • 37 zobrazení
  • Posledná odpoveď od rwmitchell

more options

Application is written in php and javascript. Clicking on a button triggers a javascript confirm dialog. Since upgrading to Firefox 9.0.1 the confirm dialog is not displayed. Popup blocker was first set to allow the app's complete domain, then turned off altogether. Javascript is enabled.

Application is written in php and javascript. Clicking on a button triggers a javascript confirm dialog. Since upgrading to Firefox 9.0.1 the confirm dialog is not displayed. Popup blocker was first set to allow the app's complete domain, then turned off altogether. Javascript is enabled.

Vybrané riešenie

Turns out that Firefox became a little more fussy about standards than IE. (Imagine that!!) Code created hidden inputs of type="text" , then called a javascript function and passed the values in the hidden inputs as parameters. The original code just passed the name of the input as a variable. The Firefox Webconsole then complained that the variable was not declared. Once I passed the variable.value, then the error went away, Firefox was happy, didn't break IE, so I'm happy.

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (1)

more options

Vybrané riešenie

Turns out that Firefox became a little more fussy about standards than IE. (Imagine that!!) Code created hidden inputs of type="text" , then called a javascript function and passed the values in the hidden inputs as parameters. The original code just passed the name of the input as a variable. The Firefox Webconsole then complained that the variable was not declared. Once I passed the variable.value, then the error went away, Firefox was happy, didn't break IE, so I'm happy.