How to substitute variables into JQuery selector?
<p>I have HTML:</p>

<pre><code>&lt;li onclick="myselect(mazda3,m3-to);"&gt;...&lt;/li&gt;
</code></pre>

<p>and function:</p>

<pre><code>var a='';
var b='';
function myselect(a,b){
    $('#workcont').empty();
    $('#tocont').load('pages/' + a + '.html #' + b);
}
</code></pre>

<p>But it's not work. How to improve it?</p>
