Fixed http://dev.jquery.com/ticket/3053
Thanks -- Ariel Flesler http://flesler.blogspot.com/ On 17 jun, 00:57, "Morgan Allen" <[EMAIL PROTECTED]> wrote: > This has to do with the way JS evaluates true and false with 0. !0 == true. > The simple fix is passing String(0), line 964 (in current svn) is the > problem, if(!elem) return, change that to if(!elem && elem !== 0) return. I > will check for a bug report and submit a patch. > > On Mon, Jun 16, 2008 at 5:02 PM, Lowell <[EMAIL PROTECTED]> wrote: > > > When I call html(5) it will set the innerHtml of my element(s) to "5". > > However, zero seems to work differently. When I call html(0), it > > removes the contents of my element(s) and does not append anything. I > > had hoped after a call to html(0), that html() would return "0". > > > Is this the expected behavior, or is this a bug? > > > Thanks, > > Lowell > > --http://morglog.alleycatracing.com > Lets make up more accronyms! > > http://www.alleycatracing.com > LTABOTIIOFR! ROFL! ROFL! ROFL! > Upcoming alley cats, reviews, touring logs, and a general congregation of > bike nerdity.