...

jQuery("#ContentPlaceHolder1_ctl01_btnSave").click(function (e) { var contentHtmlId = jQuery('#ContentPlaceHolder1_ctl01_ddlContentHtml option:selected').val(); jQuery.ajax({ method: "POST", url: "/WebServices/ContentHtml/ContentHtmlWS.asmx/PutPageControlContent", contentType: "application/json; charset=utf-8", data: '{"id":"506","pageControlId":"3048","contentHtmlId":"' + contentHtmlId + '" }', success: function (data) { location.reload(); } }); e.preventDefault(); });

Confirm