Hi Friends,
You can make asynchronous call of Web service using Javascript
The webservice behavior is encapsulated in HTC file.
Therefore before we begin first download this webservice.htc file and copy it into a folder of our webproject.
You can download this file from
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/behaviors/library/webservice/default.asp
Now your code should be like this
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head>
[...]
Archive for May, 2008
To call Web service using Java script
Posted in Asp.Net, Javascript on May 29, 2008 | 2 Comments »