How can I fire off a jquery function on an OnSelectedChange?
<p>I'm creating a dynamic dropdown list on my page. When an option is selected from the dropdown, how can I get it to fire off the jquery function?</p>

<p>Jquery:</p>

<pre><code>            &lt;script type="text/javascript"&gt;
                $(document).ready(function () {
                   function insertIntoReporting(_storeID, _personID) {
                      $.ajax({
                        type: "POST",
                        url: "Default.aspx/InsertIntoReporting",
                        data: "{'storeID': _storeID, 'personID': _personID}",
                        contentType: "application/json; charset=utf-8",
                        dataType: "json",
                        async: true,
                        cache: false,
                        success: function (msg) {
                        $('').text(msg.d);
                         }
                       });
                      return false;
                   }

                });


            &lt;/script&gt;
</code></pre>

<p>C# Code Behind</p>

<pre><code>            DropDownList ddl = new DropDownList();
            ddl.ID = "DropdownlistID";
            ddl.Items.Add("----------");
            ddl.DataTextField = "StoreName";
            ddl.DataValueField = "StoreID";
            ddl.DataSource = ds;
            ddl.DataBind();
            e.Item.Cells[4].Controls.Add(ddl);


            [WebMethod]
            public static string InsertIntoReporting(int _storeID, string _personID)
            {
               // database calls go here
            }
</code></pre>
