jQuery selected = selected
<p>I have <code>&lt;select name="users"&gt; ... &lt;/select&gt;</code> in file <strong>chat_select.php</strong>.
I refresh this every 8 sekunds to <strong>#chatSelect</strong>.</p>

<p>This is a refreshing in file <strong>chat.php</strong>:</p>

<pre><code>var auto_refresh = setInterval(
   function () {

     $('#chatSelect').load('php/refresh/chat_select.php?hodnota='+$('select.user option:selected').val()).fadeIn();

  }, 8000);
</code></pre>

<p>What is wrong? I need that if I choose some value from select that it will be stay (selected=selected).</p>

<p>And what about this?: <code>$("#user option[value=" + val + "]").attr("selected", "selected");</code></p>
