www.webdeveloper.com
Results 1 to 1 of 1

Thread: [RESOLVED] Implement Ajax from master page.

  1. #1
    Join Date
    May 2008
    Posts
    55

    resolved [RESOLVED] Implement Ajax from master page.

    Hi,

    Suppose original I used ajax and web service call from the web page.

    Code:
    <head runat="server">   
        <title></title>   
        <script  type="text/javascript">   
            function onFailed(error) {   
                 alert(error);   
             }   
            function onLookup() {   
      
              MyWebService.Demo(onSuccess,onFailed);    
            }   
            function onSuccess(arg) {   
                createTable(arg);   
            }   
    ....
    Now I change my mind; I am going to implement it from the master page.
    How to rewrite the code from the master page?
    May I directly move the code into ContentPlaceHolder block?

    Thank you very much!
    Last edited by zhshqzyc; 08-15-2010 at 07:12 PM. Reason: typo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles