I would like to send value of a <li> to server side using jQuery $.get.
HTML:
<div style="position:relative">
<ul id="myid" class="myid">
<li id="myid"><a>test</li>
</ul> 
</div>
<div id="somediv" style="position:relative">hello</div>
    <script>
        $(document).on("click", "#myid", function() { 
            $category = $('#myid li').text();
            $.get("someservlet", function($category) {  
                $("#somediv").text(responseText);          
            });
        });
    </script>
In server side, the request parameter is absent. How is this caused and how can I solve it?
 
    