开发者

jQuery 1.2.6 Build HTML Elements In Memory?

开发者 https://www.devze.com 2023-01-05 07:54 出处:网络
I am using jQuery 1.2.6 to build up HTML elements in memory.The image below alt text http://img267.imageshack.us/img267/6026/jquerybuildobjects.pngis a snippet of how I am doing it.When I profile the

I am using jQuery 1.2.6 to build up HTML elements in memory. The image below alt text http://img267.imageshack.us/img267/6026/jquerybuildobjects.pngis a snippet of how I am doing it. When I profile the HTML that is generated, below is what I am seeing. Why is this happening? What about my jQuery is incorrect here?alt text http://img413.imageshack开发者_如何学Python.us/img413/5760/jqueryhtml.png


jQuery is creating unique ids for your elements. This is not a bug. It is for storing data with the data() function.

0

精彩评论

暂无评论...
验证码 换一张
取 消