I have this button:
The problem is the camel case. For clarity I'd stick to the data-theme-value format for your attributes.
data-theme-value
http://jsfiddle.net/NkHEx/2/
jquery automatically converts .data('some-value') to data('someValue')
.data('some-value')
data('someValue')
Note that both alert calls return grid
grid