[jQuery] .load and take dom element

[jQuery] .load and take dom element


I'd like to take dom element from another page.
I try with:
$("title").load(url + " title");
but it make <title><title>MyPageTitle</title></title
or with
$("head").load(url + " title"); but the problem is that then i make
$("head").load(url + " style"); to get the style it remove the title and put
only the style.
Have you in mind some solutions?
Luca
--
View this message in context: http://www.nabble.com/.load-and-take-dom-element-tp17409507s27240p17409507.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.