Jquery < script type ="text/javascript"> $(document).ready( function () { getCat(); }); function getCat() { $.ajax({ type: "POST" , url: "Pro.aspx/Select" , dataType: "json" , data: {}, contentType: "application/json; charset=utf-8" , success: function (data) { var jsdata = JSON.parse(data.d); ...