asp.net- select control databind javascrip and c# with webmathod
<script type="text/javascript"> $(document).ready(function () { $(".divCreate").hide(); }); function CreateShow(div) { $(".divCreate").hide(); $('#div' + div).show('slow'); switch (div) { case "Today": selectDataBind('ddlConBlock', 'Block'); break; case "Tommorow": selectDataBind('ddlTomConBlock', 'Block'); break; } } function CreateHide(div) { $('#div' + div).hide('slow'); } //select DataBind function selectDataBind(input, data) { var selObj = document.getElementById(input); var p_id = document.getElementById('<%=textProjectID.ClientID %>').value; var myData = JSON.stringi