function SendPath(input) { $.ajax({ 'type': 'POST', 'url': './Upload.ashx/PathMethod', 'data': { 'name': 'Programmer', }, 'success': function (msg) { alert(msg.d); } }); }
[WebMethod] public static string PathMethod(string name){ return name; }
alert(msg.d);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)