Hi,
When i give value for textbox-- Naveen'''' cant pass value to post method
<input class="span3" id="txt_Title" type="text" runat="server" />
$('#btnSubmit').on('click', function () {
$.ajax({
type: 'POST',
contentType: "application/json; charset=utf-8",
url: 'ProductMaster.aspx/InsertMethod',
data: "{'Title':'" + $('#<%=txt_Title.ClientID%>').val() + "'}",--How to pass value with single Quote-- m passing'welcome' can't pass webmethod
async: false,
success: function (response) {
if (response.d="Save") {
window.location.href = "ProductMasterView.aspx";
}});
Thanks