I'm testing with IE8. I just upgraded jQuery from v1.5.2 to v1.6.1 and now the data method isn't working.
the row look like this:
<tr class="ui-widget-content alt" nodeIndex="2" data-DocAttributeFieldType="TextBox" data-DocClassAttributeFieldId="60777" jQuery16106588245076914028="66">
this works:
$("#docClassAttributeFields tbody tr:first").attr("data-DocClassAttributeFieldId");
this does not work:
$("#docClassAttributeFields tbody tr:first").data("DocClassAttributeFieldId");
Is there a bug in it?
Here is an example. Run it with in 1.5.2 and then 1.6 to see how they act differently... http://jsfiddle.net/5hbKX/
From the docs (I suspect the change mentioned in 1.6 is to blame - have you tried removing the case, look at the lastValue example?):
From the above HTML5 specification: