Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <script type="text/javascript">
  2.  
  3. // This function calls the Web Service method 'PerformLongOps'.
  4. function GetServerTime()e()
  5. {
  6. Samples.MyService.PerformLongOps(OnSucceeded);
  7. }
  8.  
  9. // This is the callback function that
  10. // processes the Web Service return value.
  11. function OnSucceeded(result)
  12. {
  13. var RsltElem = document.getElementById("Results");
  14. RsltElem.innerHTML = result;
  15. }
  16.  
  17. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement