On 13 Aug., 07:30, Applecore <i...@applecorestudios.com> wrote:
> The jquery.tabs.js file uses the jQuery.load function to load content
> from a file. The problem is that this function will remove all scripts
> from the file because it can't handle them.
>
> The only function that will allow this is the jQuery.ajax function you
> can see the part that would allow this here...
>
> Check outhttp://docs.jquery.com/Ajax/jQuery.ajax#options
> Scroll down to "dataType" and look at the "html" option.
>
> So using the current tabs that jQuery provides there isn't a way to
> pass the scripts with the file.

That's not true. It works fine.
http://stilbuero.de/jquery/test/remote_tabs_with_scripts.html

The problem is that if you load HTML into a document, the browser will
ignore anything that's in a head, e.g. the head itself because a page
can't have two head elements.

--Klaus

Reply via email to