Weird behaviour of iframe `name` attribute set by jQuery in IE

后端 未结 4 1605
慢半拍i
慢半拍i 2020-12-03 15:03

I\'m doing an ajax style file upload by posting the file in a form to an iframe and noticed some weird behaviour in IE (seems to happen in both 6 & 8). Basically in IE t

4条回答
  •  甜味超标
    2020-12-03 15:37

    It is not just a jQuery problem, when setting manualy, it happens too.

    If using the setAttribute() method to set it, even whithout jQuery, it does the same when the form or iframe has just been created! The same way, using the innerHTML you can fix it ... yes, once again, it is the Microsoft destroying my day :/

提交回复
热议问题