Sticky jquery selected option
<p>I have a page that shows users info like address, phone, name, etc., but the phone field is a select option where I can choose between (Phone,<br>
For each user I have a select option:</p>

<pre><code>&lt;select class="smpullinput" id="middle_column_type&lt;? echo $idtable; ?&gt;"&gt;
    &lt;option id="Phone" value="Phone"&gt;Phone&lt;/option&gt;
    &lt;option id="Office" value="Office"&gt;Office&lt;/option&gt;
    &lt;option id="Cellphone" value="Cellphone"&gt;Cellphone&lt;/option&gt;
&lt;/select&gt; 
//$idtable its just an ID 
</code></pre>

<p>And then I display the data using simple jquery:</p>

<pre><code>var idtable = &lt;?=$idtable?&gt;;
$('#middle_column_type'+idtable).change(function() {

    if( $('#middle_column_type'+idtable).val()=="Phone" )
        {                            
          $("#disp_p"+idtable).html(varp).show();
        }

     if( $('#middle_column_type'+idtable).val()=="Office" )
        {
          $("#disp_o"+idtable).html(varo).show();
        }       

     if( $('#middle_column_type'+idtable).val()=="Cellphone" )
        {
          $("#disp_c"+idtable).html(varc).show();
        }               
});
</code></pre>

<p>And I use span to display the phones. What I want now is to have a "sticky" select option, that if I change the select box to Cellphone in any user the other users get the new option, I know that in order to do that I need to use my class="smpullinput" (in my case) I tried some stuff that did not work. Not sure if I was clear enough?</p>

<p>Thanks</p>
