how to pass parameter to js function in asp.net
<p>I wannna pass 5 parameters to my js function. But someting wrong while passing these parameters. How to fix that?   </p>

<pre><code>  &lt;asp:Button ID="btnRezAktar" runat="server" Text="Aktar" OnClientClick='&lt;%# Eval("o_no", "SubmitPage(\"{0}\", ") + Eval("k_ad", "\"{0}\") + Eval("gir_tar", "\"{0}\") + Eval("cik_tar", "\"{0}\") + Eval("gece_say", "\"{0}\")") %&gt;' /&gt;

 &lt;script language="javascript"&gt;
        function SubmitPage(o_no, k_ad, gir_tar, cik_tar, gece_say) {
            window.opener.document.getElementById('txtRoomNo').value = o_no.toString();
            window.opener.document.getElementById('txtNameSurname').value = k_ad.toString();
            window.opener.document.getElementById('txtStartDate').value = gir_tar.toShortDateString();
            window.opener.document.getElementById('txtFinishDate').value = cik_tar.toShortDateString();
            window.opener.document.getElementById('txtNightNum').value = gece_say.toString();
            this.close();
        }
    &lt;/script&gt;
</code></pre>
