Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: AJAX Tabs - How to make an extra link to another internal div (content) ?

  1. #11
    Join Date
    May 2010
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I am also having trouble when I load pages using ajax, not iframe. If the page being loaded has any javascript, the javascript doesnt work. I was told by someone that some functions need to be rebinded when you are dealing with loading pages via ajax.

    If anyone already knows how solve this please let me know as it is a bit beyond my current level of understanding

  2. #12
    Join Date
    Aug 2004
    Posts
    9,878
    Thanks
    3
    Thanked 962 Times in 951 Posts
    Blog Entries
    15

    Default

    This is just a pesky limitation of Ajax. Pages fetched via Ajax should they contain JavaScripts within it in many cases won't run correctly when brought over this way. Ajax basically copies the contents of the external file similar to copying plain text and just dumps it onto the main page. Browsers don't know to interpret scripts or even CSS (in IE) within that copied content.

    There are a few workarounds to this limitation in general, but as far as this script is concerned, the easiest way is just to load those pages using the IFRAME option...
    DD Admin

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
  •