April 9, 2002 - Displaying the Add Web Service's Returned Value
April 9, 2002 Displaying the Add Web Service's Returned Value Tips: April 2002
Yehuda Shiran, Ph.D.
|
Add
Web service in action:
Enter First Number: | |
Enter Second Number: | |
DIV
element to display the result of the Add
Web service. Once a result is ready, we update the innerHTML
property of the appropriate element. Here is how we update the result of the Add
Web service:
function addResult(result) {
theResult1.innerHTML = result.value;
}
These Web service examples work properly in Internet Explorer 5.5 or later browsers. If you are using Internet Explorer 5.5+ and receiving errors with the examples, you need to enable the access data sources across domains option
. See Column 105 for details.To learn more on consuming multiple Web services, go to Column 106, Web services Part XI: Consuming Multiple Web Services.