how to insert variable into jquery select attribute $("[myAttribute='+myAttribute+']").html('is working');
<p>I want to select and change a div with my own attribute let say myAttribute="1235"</p>

<p>I try this </p>

<pre><code>&lt;font myAttribute="1235"&gt;Change me !&lt;/font&gt;
&lt;script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
    var myAttribute = 1235;                    
      $("[myAttribute='+myAttribute+']").html('is working');                    
      $("[myAttribute='+myAttribute']").html('is working');                    
      $("[myAttribute=''+myAttribute]").html('is working');                
&lt;/script&gt;
</code></pre>

<p>but they dont work !! if change the code to </p>

<pre><code>$("[myAttribute='1235']").html('is working');
</code></pre>

<p>everthing is ok but i want to use a variable</p>
