Seems like certain browsers (Internet Explorer with Compatibility View ON) don't support the .data() object, whats the next best thing to use?
$("#object").data('value','hi');
I was thinking I could apply classes to the object and use hasClass() but maybe there's a better way? Would be better if it was as lightweight as possible (without using cookies)