remove all children of ul element thats means remove all li's
  I am doing the following code to remove all the children of UL.Is it right to do.ALl the childrens are li element.

   thickBoxProductLists is the id of UL element

                 $('#thickBoxProductLists').children().remove();
remove all children of ul element thats means remove all li's
===

  I am doing the following code to remove all the children of UL.Is it right to do.ALl the childrens are li element.

   thickBoxProductLists is the id of UL element

                 $('#thickBoxProductLists').children().remove();