I have to call a server side method GetMSG using jQuery and that server side method
[WebMethod()]
public string GetMSG() {
if(condition) {
return 'MSG'
} else {
return ''
}
}
Now using that msgI have to show alert. How to use return msg and display alert in jQuery.
Do you need the jQuery code to perform the Ajax call and display the return? If yes you could go with something like this: