How access Ajax generated source ?
- by Rorchackh
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.