Please go through this article here:
Calling ASP.Net WebMethods using jQuery[
^]
You can change webmethod from
$.webMethod({
'methodName': 'GetDate',
'parameters': {
'client': 3
},
success: function (value) {
alert(value);
}
});
to
$.webMethod({
'methodName': 'GetDate',
'parameters': {
'client': $.trim($(this).text())
},
success: function (value) {
alert(value);
}
});