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
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
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
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/
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.
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