Results 1 to 2 of 2

Thread: Unloading Ajax content

  1. #1
    Join Date
    Aug 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Unloading Ajax content

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem: I need a way, without refreshing the page, to unload the ajax content and redisplay the default text in the div section.

  2. #2
    Join Date
    Feb 2006
    Posts
    236
    Thanks
    8
    Thanked 3 Times in 3 Posts

    Default

    First you need to decide what event you are going to use to trigger the replacement by the default text.

    Secondly, you need to put your default text ino a file, say default.html

    Then you need to use ajax to load the default.html when the page loads and also when the restore event is triggered.

    See http://www.dynamicdrive.com/forums/s...ad.php?t=13314 or http://www.dynamicdrive.com/forums/s...ad.php?t=13483 for starters on how to do this.....

Bookmarks

Posting Permissions

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