How To: Call a web service from ajax
- by Kolten
I have a simple Web Service that send email and is called via:
public bool SendMail(string format, string from, string to, string cc, string bcc, string subject, string body, string replyTo)
I have never used ajax before, and find I need to call this service and pass form contents to it from a simple html page (I cannot use asp or asp.net unfortunately).
Can I get a quick rundown of what is required? I have searched for simple examples, but find I am having difficulty understanding how to call it and pass the parameters required of the Web Service.
Thanks all!