Pass GridView id to javascript in asp.net
<p>I am using the below code to handle the gridview dropdownlist on change event in clientside. In the mean time i want to pass the row id for my further process. But it's not working. But it's working while i call javascript without id.How can i pass the id to javascript.</p>

<pre><code>&lt;asp:TemplateField ItemStyle-Width="10px" HeaderText="Status"&gt;
                                    &lt;ItemTemplate&gt;
                                        &lt;asp:DropDownList ID="ddl_status" runat="server" onchange='chng_status("&lt;%#Bind("FLD_ID") %&gt;")' &gt;
                                            &lt;asp:ListItem&gt;&lt;/asp:ListItem&gt;
                                            &lt;asp:ListItem&gt;Realised&lt;/asp:ListItem&gt;
                                            &lt;asp:ListItem&gt;Non-Realised&lt;/asp:ListItem&gt;
                                        &lt;/asp:DropDownList&gt;
                                    &lt;/ItemTemplate&gt;
                                &lt;/asp:TemplateField&gt;

function chng_status(value) {
        alert('enter');
        alert(value);
    }
</code></pre>
