[jQuery] Re: Adding an LI element to an OL

2009-02-10 Thread Michael Lawson
Date: 02/10/2009 04:24 PM Subject: [jQuery] Re: Adding an LI element to an OL Hi Michael, Thanks for replying. The sort won't need to be done very often at all s

[jQuery] Re: Adding an LI element to an OL

2009-02-10 Thread Sam Hastings
Hi Michael, Thanks for replying. The sort won't need to be done very often at all so I imagine that your solution would be ideal. Having a bit of trouble getting it to work though: $("#group_add").livequery('submit',function() { var group_name = $(this).children("#group_

[jQuery] Re: Adding an LI element to an OL

2009-02-10 Thread Michael Lawson
How often are you going to be doing this sort? You could just say that when you add something to the list, pull them all out and put them into an array, sort the array and then put it back out cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline