ID of select in another file (jQuery)
<p>I would like to manipulate with <code>&lt;select id="user"&gt; ... &lt;/select&gt;</code> in file <strong>chat_select.php</strong>.
The main page (file) is <strong>chat.php</strong> and there is a JS code. </p>

<p>Could you tell me how can I able to use the select in file chat_select.php? I'm using jQuery.
I think, that It could be some like this:</p>

<pre><code>$('#user').data('saved')
</code></pre>

<p>OR</p>

<pre><code>$('select[ID="user"]').data('saved')
</code></pre>

<p>OR</p>

<pre><code>$('select.user').data('saved')
</code></pre>
