jquery attr(“onClick”) - ie and ff

后端 未结 5 810
长情又很酷
长情又很酷 2021-01-13 01:12

Using jquery, I\'d like to get the javascript from an A tag\'s onClick attribute.


In Fir

5条回答
  •  遥遥无期
    2021-01-13 02:00

    Internet Explorer <8 has a completely broken implementation of setAttribute and getAttribute which deal with the property with the given name instead of the attribute.

    I'm not aware of a work around.

提交回复
热议问题