title: jQuery.data() is not working in IE10. Any other way to implement?
body: <p>I have a text area, and on any change I need to change other label with the new value and some other value I'm getting from the server at page load.</p>
  
  <p>I'm creating a calculation object and attaching it to the textarea by using the <a href="http://api.jquery.com/jQuery.data/" rel="nofollow">jQuery data method</a>.</p>
  
  <p>When the value changed in the textarea I retrieve the calc object, load it with the new value and update accordingly.</p>
  
  <p>Everything works great on all browsers except from IE10.</p>
  
  <p>In IE10 there is an error when the browser loads the JS: <code>SCRIPT3: Member not found</code> and then when trying to retrieve the objects, it fails. </p>
  
  <p>I read in the jQuery file itself that it is related to the problem of IE with get/setAttribute.</p>
  
  <p>I also found <a href="http://bugs.jquery.com/ticket/12577" rel="nofollow">this documented bug</a>.</p>
  
  <p>Is there other way to attach storage to a DOM element?</p>
  
  <p>What are my options here?</p>
  
  <p><strong>Edit</strong>: I'm adding some of my code:</p>
  
  <p>Attaching the object to the element:</p>
  
  <pre><code>myField = $('#url-example');
  
  fullUrl = FullUrl("http://www.example.com/category/article?", something);
  
  myField.data("fullUrl", fullUrl);
  </code></pre>
  
  <p>Retrieving:</p>
  
  <pre><code>tiedFullUrl = $('#url-example').data('fullUrl');
  
  tiedFullUrl.setUrl(url);
  
  doSomethingWithTheObject(tiedFullUrl);
  </code></pre>
  
  <hr>
  
  <p><strong>I'm adding more info:</strong></p>
  
  <p>I'm getting the same error as <a href="http://forum.jquery.com/topic/bug-in-ie-10" rel="nofollow">this guy</a>. </p>
  
  <hr>
  
  <p>**</p>
  
  <h2>More info:</h2>
  
  <p>**</p>
  
  <p>I created a workaround:</p>
  
  <p>--from jquery.1.7.1.js, line 2700:</p>
  
  <pre><code>if (!$.browser.msie || $.browser.version &lt; 7) { //my hack
    return ( ret.nodeValue = value + "" );
  }
  </code></pre>