Here is the code snippet for web service:
public class WebService1 : System.Web.Services.WebService
public string HelloWorld()
return "Hello this is pratik";
And here goes the code snippnet for the .js file:
// This is the callback function that
// processes the Web Service return value.
In IE there is no problem in getting the result .But in firefox i get the error :
"the server method "helloworld" failed with the following error
" , but no error is specified in the error window.
For the info,i am using firefox version "3.0.7"
it would be great of you guys out there if you can help me out.Thanks in advance