Olaf Bosch schrieb:

Thank you for reading, i have it :)

replace is doing:

document.title = data.replace( /([\s\S]+)<title>/, '' ).replace(/<\/title>([\s\S]+)/, '' );

with this works in all Browsers I tested.

after a ajax load of content in a DIV I try to change the title of the
parent document, for better BookMarking.
Works fine in FF, not in IE. In IE is result null. In Opera become
<localhost> in alert.

here the Code:

           var new_title = $(data).filter("title").text();
           document.title = new_title;
           alert (new_title);

See you a way to do this in all Browsers?




--
Viele Grüße, Olaf

-----------------------------------
olaf.bo...@t-online.de
http://olaf-bosch.de/
http://ohorn.info/
http://www.akitafreund.de/
-----------------------------------

Reply via email to