Hi,
how to pass image src to WebMethod..this is my code i pass image src to webmethod, but Method wont called???
<img id="blah" src="#" alt="your image" runat="server" />
<input type="file" id="imgInp" runat="server" />
$.ajax({
type: 'POST',
contentType: "application/json; charset=utf-8",
url: 'CompanyInformation.aspx/InsertMethod',
data: "{''Image1':'" + $('#<%=blah.ClientID%>').attr('src')+ "'}",--
async: false,
success: function (response) {
$('#btnSubmit').prop('disabled', false);
$('#btnSubmit').prop('value', 'Add New');
var result = response.d.split(",");
$('#txtID').val('');
$('#txtID').val(result[3]);
id = result[3];
if (result[0] == "Saved ...
Go to the complete details ...