using document.ready(function() or $(function() means that JQuery only
executes after the DOM is ready or fully loaded respectively.

if you want to change the title of a page the simple document.title should
work

else you can have the head of a page load through either php or asp or jsp
or any other server side script.

On Tue, Jun 9, 2009 at 6:57 PM, hannes <hhe...@gmail.com> wrote:

>
> Greetings,
>
> I'm trying to replace the <head> of a page with the <head> of another
> page.
>
> For example, in http://docs.jquery.com/Main_Page, I call
>
> $("head").load("/About head")
>
> expecting to replace the <head> section of the current page with that
> of http://docs.jquery.com/About.
> However, the function seems to insert an empty string into my <head>
> tag.
>
> Any idea why that might be?
>
> Hannes
>

Reply via email to