Passing string into Onchange
<p>I am having a hard time passing a string constant into an onchange event. 
code example which i am trying:</p>

<pre><code>var rvalue = "hi";
var r1 = '&lt;label style="vertical-align:2px;"&gt;Group by: &lt;/label&gt;' +
    '&lt;select id="pwx_documents_range_groupby" onchange="ravi('+rvalue+');"&gt;' +
    '&lt;option value="listview" selected="selected"&gt;List View&lt;/option&gt;&lt;option value="notetype"&gt;Note Type&lt;/option&gt;&lt;option value="author"&gt;Author View&lt;/option&gt;'+
    '&lt;option value="cat"&gt;Cat&lt;/option&gt;&lt;/select&gt;'
</code></pre>

<p>This is just sample code.. But the question is once drop down change it will call ravi function and throw me the error 'hi' is undefined. If i am passing 0 instead of hi it works great. I am totally surprise why it will not accept the string.</p>

<p>Anybody have any idea that would be great help.</p>
