Thanks for the response, though unfortunately it didn't work.
So, after another 2 hours of debugging I found what the problem was. I
had a line in my HTML that apparently IE6 didn't like, and was
preventing IE6 from properly wiping out my div tag:
a id=someId/
That line wasn't even in my div
It's not really a question of IE6 liking that code or not. It's invalid
HTML, so all bets are off.
The real thing to mark for future reference should be:
http://validator.w3.org/
When things are acting strange, run your code through the validator. Valid
HTML will help you get more consistent
not sure what is causing the problem, but one alternative approach
would be to use empty() and append()
$(#myDivId).empty();
$(#myDivId).append(val)
maybe that will work better?
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 11, 2008, at 7:54
On Feb 13, 2:03 am, Michael Geary [EMAIL PROTECTED] wrote:
It's not really a question of IE6 liking that code or not. It's invalid
HTML, so all bets are off.
The real thing to mark for future reference should be:
http://validator.w3.org/
When things are acting strange, run your code
4 matches
Mail list logo