<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(function(){ (li=$('li')).html('<span> test </span>'+li.html()); }); </script> <li>тест</li>