Sam wrote:

Ack!  I was hoping I could manipulate the incoming stuff with more of an
"out of <body>" experience.

oMyDiv = document.createElement('div'); // this div isn't attached to the
dom

oMyDiv.innerHTML = request.responseText ; // Stuff the external page URL
into this DIV

// hocus pocus... $('target').innerHTML = oMyDiv.getElementByID('source').innerHTML ; // in
your dreams

My understanding is that until the incoming 'source' HTML is attached to the
DOM, it stays as HTML and isn't OO.  If this is right, then yes, I'd need a
regEx.

If your problem is not speed, but having the whole page flash briefly, you
can use this method within an invisible div (div.style.display = 'none').

--
We develop, watch us RoR, in numbers too big to ignore.

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to