I can't reproduce the problem. I've tried a similar script in IE6 and
IE7 and they both behave nicely when using append() and prepend() on
an OL element. Could you post a link to a page with your full example
on it, or post more code? Also, I tested with jQuery version 1.1.1,
are you using an older version perhaps?

Are you adding these LIs in a $().ready(), or in a function that fires
as a result of some user interaction?

On 2/6/07, Joel Noble <[EMAIL PROTECTED]> wrote:
>
> I've got a little code snippit that adds LI elements to an
> ordered list (OL).  In Firefox, the added elements get their
> own numbers and all is good.  In IE, every element is added
> as #1.  (The LI is added, but each one shows as #1).
>
> Here's what I'm doing to add the elements:
>
> $('#mylist').append('<li id="'+ listItemId +'">' + textToShow + '</li>');
>
> Is there anything I can call after adding to prompt IE
> to "renumber" the elements of the OL?
>
>
> Thanks!
>
>
> Joel Noble
> [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
"I don't know karate, but I know KA-RAZY!!!!"
 -- James Brown

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to