tags:

views:

36

answers:

1
+1  A: 

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
or he can append li to ul
c0mrade
Append would put it at the end. I think OP wants to place it as the second item in the list.
Anurag