Results 1 to 2 of 2

Thread: AJAX onload javascript problem

  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AJAX onload javascript problem

    1) Script Title:
    Tab Content Script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tabcontent.htm
    3) Describe problem:

    G'day all,

    My problem is intermittant functioning of this script.
    I am calling content onto a page via ajax and am wishing to display some of this content in the tabbed content pages. The ajax call works perfectly and I have used the excellent article http://www.dynamicdrive.com/forums/s...2616#post52616
    to get the loaded javascript to operate.

    The problem is that the tab contents fails to display on initial loading of the ajax content. You need to click on a tab then reload the ajax content then it works perfectly.?? Sometimes it will then work fine if another ajax content page is loaded smetimes not.

    Any help would be appreciated.

    Many thanks and Merry Xmas.

  2. #2
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default solved

    solved as i'm an idiot. Thanks. applied the trigger to the incorrect element.

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
  •