Knockoutjs: Not working in IE7 [closed]

江枫思渺然 提交于 2019-12-06 14:02:27

问题


Please find my code in the fiddle : http://jsfiddle.net/vdcUA/55/

This is not working in IE7 or more specifically IE8-Compatible mode

I have used the knockoutjs plugin in the code.

Please suggest how to over come this ...

Thanks, Naveen


回答1:


Looks like IE7 requires a tbody to insert/remove rows via JavaScript. Adding a tbody tag to your table and putting your template binding on it works properly: http://jsfiddle.net/rniemeyer/P6aDk/



来源:https://stackoverflow.com/questions/7231887/knockoutjs-not-working-in-ie7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!