If you are looking to get a structure like:
<ul class="sf-menu">
<li>Student Center ...</li>
<li>Faculty Courses ...</li> <!-- Inserted here -->
<li>Research ...</li>
<li>Contact Us</li>
<li>A - Z</li>
</ul>
then, you can use:
$("#faculty").insertAfter(".sf-menu > li:first");
It inserts the #faculty
list item after the first <li>
node inside #sf-menu
.
Learn about all DOM manipulation functions at http://api.jquery.com/category/manipulation/
Anurag
2010-05-18 07:18:34