How access Ajax generated source ?
Posted
by
Rorchackh
on Stack Overflow
See other posts from Stack Overflow
or by Rorchackh
Published on 2010-12-30T03:49:44Z
Indexed on
2010/12/30
3:53 UTC
Read the original article
Hit count: 171
Hello everyone,
I created a php file that return dynamically generated text. This text is returned with a div id. When I retrieve that text using Ajax as responseText. I would like to access the properties of that div using javascript, which is impossible since that new text is not added to the DOM.
My question is, how can i access that div using either raw javascript or frameworks (am somewhat familiar with jQuery) ?
It may be useful to note that the div can be accessed using CSS.
Thank you.
© Stack Overflow or respective owner