Back to selectors

Back to selectors


Hi quick help
how can i go back to one selecotr in the hierarchy
eg:
<ul id="selector">
    <ol id="list">
    </ol>
    

    <ul id="itens">
        <li>test 01</li>
        <li>test 02</li>
        <li>test 03</li>
    </ul>
</ul>
when i click on the LI tag
its will be add same item on teh OL tag
with this
$("#selector ul li").click(function () {
$str_option = $(this).text();
$( "#list").append( "<li>" + $($str_option).selector + "</li>" );
this work fine
but if i have more those codes on the page... how can i use something
without selector
$( "#list")
can i uset the
$(this)
and back to a parent id?