> thank you Mike ! > > Now, i don't actually want to display the loaded content, just need to > traverse it, and generate a submenu (one <a> element per <h3> element > found, using the h3 element attributes). Can i actually load it inside > a variable?
Sure. I think this will work: $('<div/>').load("myfile.php #dsViewport h3");