I have a <div  id="wcResult"> container.

Via $.ajax() the success and failure call back do this:

    $("#wcResult").text(xml.responseText);

to display the result.

If success, the server sends JSON formatted data.
If failure, like uthentication required, HTML is sent.

For the JSON data,  the div will not clip or autofit the content. It
runs off the div border.

For the HTML, the div will autofit the content very nicely.

I am not completely sure the reason for this, but I believe its
related to HTML :-)

Comments?

PS: This is only under FireFox.  IE fits them both.

--
HLS

Reply via email to