jQuery 1.2.6 Build HTML Elements In Memory?
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.
精彩评论