阅读背景:

非(X)HTML属性......任何缺点?

来源:互联网 

I've generally tried to stick with DOM-only attributes when writing Javascript. Now that I've switched from Prototype to jQuery, I can get some serious mileage out of adding my own attributes to various DOM elements, mostly in the realm of being able to set up a very readable coding convention for handling AJAX requests.I've generally tried to stick with DOM-only att




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: