Sorry it's confusing.
I'm admittedly weak in JavaScript and Ajax. Perhaps if I could explain the question better I'd know the solution!
You suggest an ending /div or /table may be missing ... let me try to check that.
Failing that, perhaps I need to try to replicate it with a simpler example ... also one that I can show without providing a login to my customers site-in-progress.
Main Topics
Browse All Topics





by: Slick812Posted on 2009-09-03 at 17:09:45ID: 25256093
hello Daniel Wilson, , I have read your question info, but I do not have the ability to "get" what or where your problem might be. You sound as if you have used Ajax before with successful results. I do not really understand when you say - ggle()" src="img/cal.gif"/>
"produces the <img> tag, but it fills the entire <HTML> instead of being where it's supposed to be."
For many if not all of my Ajax responseText calls I use an innerHTML = , , like -
domC.innerHTML = ajaxObj.responseText;
And in the responseText there are no <html> or <body> tags, are you sending back ajax as the entire page, or just the -
<img id="tcalico_0" class="tcalIcon" alt="Open Calendar" onclick="A_TCALS['0'].f_to
if your ajaxObj.responseText, seems correct, maybe you have left out some ending tag like </div> or </table>, which can completely throw off the page rendering. Also I have had problems with " and ' (double and single quote) in my PHP, , forgetting to escape it for html output.