.html() should not cause any errors. I remember having similar problem
with .append(). I had to use a temporary variable to append new html.

Anyone experienced similar problems ?

----
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Wed, Mar 4, 2009 at 9:15 AM, pedalpete <p...@hearwhere.com> wrote:
>
> I've been struggling with IE for a few days now, and looking through
> the HTML check in debugbar, it shows that IE would throw an error on
> every .html('<div>....</div>'), so I took any place where I had the
> html defined within the html(). I put the html into a javascript
> variable, and then it told me that the closing / was an invalid
> character. So I commented those out with \/.
>
> My question is, should I have done this?
> I can still back out of it, though it doesn't appear to be causing any
> problems in any of the browsers.

Reply via email to