The only way to do this is to bind the contents of your list box to a
repeating XML structure. At that point, all you need to do is add or remove
XML nodes in your DOM and the list will automatically update accordingly.

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com