JQuery and ASPX Page

JQuery and ASPX Page

Greetings,
 
I am new to JQuery and have a question regarding $.ajax.  Do I need to create my application in ASP.Net or can I write HTML and link to a Web Service Application for my $.ajax calls?  I have tried writing HTML page with
Web Service and it keeps calling the "Error" function.  If I write it in ASPX, the Web Service works fine.
Can anyone confirm this?  Thank you.
 
Joshua