[jQuery] Re: Ajax.load doesn't work for head element?

2009-06-11 Thread anyxem
и что можно сделать тогда? у меня тоже сейчас такая задача On 10 июн, 13:19, hannes hhe...@gmail.com wrote: I found the answer. The docs specify that 'Default selector body* always applies.', head is outside of that. On Jun 9, 6:57 pm, hannes hhe...@gmail.com wrote: Greetings, I'm

[jQuery] Re: Ajax.load doesn't work for head element?

2009-06-11 Thread anyxem
sorry. so what can we do in this case? i have the same trouble On 10 июн, 13:19, hannes hhe...@gmail.com wrote: I found the answer. The docs specify that 'Default selector body* always applies.', head is outside of that. On Jun 9, 6:57 pm, hannes hhe...@gmail.com wrote: Greetings, I'm

[jQuery] Re: Ajax.load doesn't work for head element?

2009-06-10 Thread hannes
I found the answer. The docs specify that 'Default selector body* always applies.', head is outside of that. On Jun 9, 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, inhttp://docs.jquery.com/Main_Page,

[jQuery] Re: Ajax.load doesn't work for head element?

2009-06-09 Thread waseem sabjee
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

[jQuery] Re: Ajax.load doesn't work for head element?

2009-06-09 Thread waseem sabjee
What a CMS usually does. ( like joomla ) the contents of the head of a page is stored in a include file. you just call this include file each time. or based on certian variables you can call different include files. if you include parameters in your class for the include file you can edit your