Load a full page whit Ajax

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Load a full page whit Ajax

  1. #1
    Join Date
    Jan 2008

    Load a full page whit Ajax

    I'm beginner in Ajax I'm creating a web site.It have many pages with scripts and style sheets.
    But I wish to use same banner and navigation bar and other common features for all pages. (frame of my web site).So I wish to use ajax technology to load sub pages without reloading frame.
    I know about placing a page on <div> tag with response text method.
    But it doesn't load any scripts which are place on sub pages.
    Can you help to load pages with scripts and style sheets?

    my testing document is here:

  2. #2
    Join Date
    Mar 2007
    Bangalore, India
    Extract from the forum located in http://codingforums.com/showthread.php?t=11083

    script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'serversidescript.asp';
    You could also try putting an empty, hidden DIV and modifying its innerHTML to contain <script></script> tag. Note, this is NOT a standard.
    Last edited by Razee Marikar; 01-03-2008 at 06:49 AM. Reason: Mistake

Similar Threads

  1. Loading Page Variables
    By hoyaabanks in forum ASP.NET
    Replies: 0
    Last Post: 02-26-2007, 03:46 PM
  2. AJAX response contains original page!?!
    By Java_Maniac in forum AJAX
    Replies: 1
    Last Post: 12-29-2006, 05:29 AM
  3. Replies: 4
    Last Post: 06-24-2005, 01:40 AM
  4. Replies: 2
    Last Post: 12-26-2000, 05:02 PM
  5. Replies: 2
    Last Post: 04-28-2000, 04:44 AM

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center