how to call a webmethod from an aspx page using jquery

I have webmethod declared as
[WebMethod]
public void helloworld()
{
}

and I want to call this web method from jquery in my web page.
how can i do this?
ziorrinfotechAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
tetorvikConnect With a Mentor Commented:
If you want to use Jquery the like below might be helpful
http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/

I would also recommend browsing through an alternative ASP.NET Ajax approach
http://msdn.microsoft.com/en-us/library/bb515101.aspx
0
All Courses

From novice to tech pro — start learning today.