Results 1 to 1 of 1

Thread: DD Ajax Tabs not running script with tab content

  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Ajax Tabs not running script with tab content

    I have set up DD Ajax Tabs and am using it just fine. It works great for the most part, until I ran into an issue recently. The content of one of the tabs contains some javascript that needs to be executed as soon as the tab content is loaded. If the same content is loaded as an independent page, the script runs, but when the content is loaded in association with the tab, the script does not run. Using Firefox + Firebug, I can verify that the script exists in the retrieved content. It is just not running.

    Note: The JS within the tab content does not execute. However, if I refresh the content of that same tab via some Ajax utility method (say - Prototype), then the JS executes. But Prototype has an explicit option for running JS within the returned content. Not sure if I can leverage such an option with DD Ajax tabs.

    Please help.

    Thanks.

    Ashwin
    Last edited by webuser; 05-13-2009 at 07:59 PM. Reason: Elaborated on issue

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
  •