javascript code error shown undefined value
<pre><code>function abc(id, name){
   var button = '&lt;img src="/images/abc.png" onclick="getvalue('+id+','+name+')"/&gt;';
   $('Div1').set('html',button);
}
</code></pre>

<p>my this code is not working. it gives an error. The error is: suppose value of name is Gaurav. then it gives error Gaurav is not defined. Please help me and tell me where is error.</p>
