Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-11-2009, 06:06 PM #1
Fetching a new template using Ajax XML. Help please.
I am using Ajax to draw a new layer on top of the existing webpage. I send the call back to ajax helper php class and retrieve the html codes from a template via xml. For example the part of XML response would be as follows.
<newTemplate> <div id='gallery' class='newLayer'>new page <h1>heading</h1> <div>body</div> </div> </newTemplate>
but one I appended these variable to body, I can not see the html codes of these works. nothing happens. I can see nothing on the screen.
Am I doing any mistake? or is there are different way to do this? Any body please help me to overcome this issue.
Thank you guys.
08-12-2009, 08:46 AM #2
Thanks guys for the 34 views of this thread.
I managed to do it.
Its working fine now.