来自jQuery 1.7rc1源代码:
noData: {
"embed": true,
// Ban all objects except for Flash (which handle expandos)
"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
"applet": true
},
什么是clsid:D27CDB6E-AE6D-11cf-96B8-444553540000?
最佳答案 每当一个对象不是一个
Shockwave flash对象时,设置expando属性将不起作用(
“expando property”),因为将抛出无法捕获的错误.从源头上看,这种方法是内部的
从来源:
// The following elements throw uncatchable exceptions if you
// attempt to add expando properties to them.
noData: {
"embed": true,
// Ban all objects except for Flash (which handle expandos)
"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
"applet": true
},
在the source中搜索noData,并显示许多带有适当注释的引用.