jQuery not allowing to set an attribute as 'selected'
<p>I am using jQuery 1.3.2 and I am running into exactly the same <a href="http://groups.google.com/group/jquery-en/browse%5Fthread/thread/2902a4393f93df52?pli=1" rel="nofollow">problem mentioned here</a>.</p>

<pre><code> var tmp = jQuery(selector_string);
 tmp.attr("selected", "selected");
</code></pre>

<p>I am getting value of tmp correctly in IE6. However setting the attribute to 'selected' is failing. It works in IE7 and in Firefox.</p>

<p>Another person <a href="http://csharperimage.jeremylikness.com/2009/05/jquery-ie6-and-could-not-set-selected.html" rel="nofollow">having the same problem</a>. </p>
