On Tue, Feb 06, 2007 at 03:22:28PM -0500, Paul McLanahan wrote: > 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?
I'm adding them as a result of user interaction. (The user picks an item, it gets added to the list). The list itelf is sortable (using Interface 1.1.2, jQuery 1.1.1), so the next thing I do is to call SortableAddItem, passing in document.getElementById(listItemId). But it's IE that maintains the list numbering, and that's what seems to not occur. I'll see if I can pare down the example and make it work without using the deprecated "value" of an LI (but thanks to the other folks who suggested how to do that if I need to!), since you say it works for you. Maybe there's another bug here somewhere that's making it not work in IE (all LIs are #1), but work in Firefox. Thanks! Joel Noble [EMAIL PROTECTED] _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
