[jQuery] moddify the title tag

2006-10-30 Thread Enquest
humpf, I don't understand why I can't modify the title tag with jquery... I want to input some data after its loaded. For example, $(title).append(test); How come this does not work? Enquest ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] moddify the title tag

2006-10-30 Thread Michael Geary
humpf, I don't understand why I can't modify the title tag with jquery... I want to input some data after its loaded. For example, $(title).append(test); How come this does not work? You can't change the title tag's innerHTML once the tag has been encountered in the HTML code. This

Re: [jQuery] moddify the title tag

2006-10-30 Thread Klaus Hartl
Michael Geary schrieb: humpf, I don't understand why I can't modify the title tag with jquery... I want to input some data after its loaded. For example, $(title).append(test); How come this does not work? You can't change the title tag's innerHTML once the tag has been encountered

Re: [jQuery] moddify the title tag

2006-10-30 Thread Mike Alsup
You get only one chance at this - you can't change it once the tag is written. You can do this in FF and IE: document.title = 'my new title'; ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] moddify the title tag

2006-10-30 Thread Michael Geary
You can't change the title tag's innerHTML once the tag has been encountered in the HTML code. This isn't a jQuery limitation; it's a browser limitation. I don't know if it is true for every browser, but it is for the ones I tested when I implemented dynamic titles a while ago.

Re: [jQuery] moddify the title tag

2006-10-30 Thread Stephen Woodbridge
Mike Alsup wrote: You get only one chance at this - you can't change it once the tag is written. You can do this in FF and IE: document.title = 'my new title'; I could not get this to work via the url which might not be significant: javascript:document.title='my new title' but this