asp: jquery function works for master page items but not aspx page items
===

On the aspx page, I have something like this:

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">   
    <script type="text/javascript">
        $("li").mouseover(function () {
            $("li").css("background-color", "blue");
        });
    </script>
    
    <ul id="second"> 
    <li> <a href.../a> </li>
    <li> <a href.../a> </li>
    <ul>

and on the masterpage there is a menubar created in the list format too.  So when I mouseover the menubar the li background items turn blue, no problem.  But when I mouseover the second li nothing happens.  I'm not very familiar with asp.  I tried the solution [http://stackoverflow.com/questions/9185264/jquery-dont-work-in-aspx-page-with-masterpage][1] i'm not even sure if it applies to it.

thanks


  [1]: http://stackoverflow.com/questions/9185264/jquery-dont-work-in-aspx-page-with-masterpage