Error in IE when manually calling event handler, given certain conditions

前端 未结 3 727
不知归路
不知归路 2021-01-31 11:25

Preface

  • Please note, I\'m not looking for a code solution, but rather insight into why this may occur.
  • The error occurs in IE (tested 7 & 8), but no
3条回答
  •  天涯浪人
    2021-01-31 12:19

    Try some function that actually has one parameter and actually returns something. See if it produces an error too. It may have something to do with parameters and a function default return value. Try it and post the results back, please.

    EDIT

    If the function does not get called, the problem could be in the resolution of the property onclick. It may be somehow you are not actually calling your defined function, but the code finds some other build in IE object when you pass true as parameter. In any case this behavior is out of any specifications and so we may call it bug. Of those IE has plenty as you can see from my own questions.

    IE 8 absolute positioned element outside its parent clipping problem

    IE8 bottom:0 in position:absolute behaves like position:fixed

提交回复
热议问题