|
November 16, 2001 Loading the Web Service First Tips: November 2001
Yehuda Shiran, Ph.D.
|
|
To ensure that the useService method works correctly, you should place it inside an event handling function for the onload event. In this way, you will ensure that the first attempt to call a method in the behavior occurs only after the page has been downloaded and parsed. The event handling function may define friendly names for one or more Web Services. Here is an example:
People who read this tip also read these tips: Look for similar tips by subject: |