Where to use the jQuery.data and can I view the data on the server side?
In different words, can I use the jQuery.data(this, "isDirty", "very")
on the server side to add some special proces开发者_如何学编程sing to the textBox controls, when the page has posted back?
.data
adds something to the logical DOM, not the actual DOM. The only way to get the data back onto the server is to send it to the server. You could always save it into a textfield as a JSON array and parse it on the server.
精彩评论