SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the first method:
$('li').first()
http://api.jquery.com/first/
btw I agree with Nick Craver -- use document.getElementById()...