1
     <script type="text/javascript">
        $(document).ready(function(e) {
            $(".list").live("click", function(e) {
                $('#buran').append('<li  data-corners="false" class="live ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-corner-bottom ui-li-last ui-btn-up-e" data-shadow="false" data-iconshadow="true" data-wrapperels="div" data-icon="arrow-r" data-iconpos="right"><div class="ui-btn-inner ui-li"><div class="ui-btn-text"><a href="#" class="list ui-link-inherit">' + $(this).text() + '</a></div><span class="ui-icon ui-icon-arrow-r ui-icon-shadow">&nbsp;</span></div></li>');
                $('#buran').listview('refresh');
            });
        });
    </script>

我想在追加事件时删除当前元素?

4

0 回答 0