解决方案 »

  1.   

    看看我写的JQuery选择器的博文能否满足你
    http://blog.csdn.net/dotnetstudio/article/details/38758027
      

  2.   

    jQuery的html()相当于innerHTML,也就是元素里面的内容,不包括元素本身。
    参考: How to get the outerHTML of an element using jQuery - See more at: http://www.computerhowtoguy.com/how-to-get-the-outerhtml-of-an-element-using-jquery/#sthash.4fGxPvL4.dpuf$("input[name='plist']:checked").parent().prev().clone().wrap('<div>').parent().html();
      

  3.   

    也可以直接用outerHTML$("input[name='plist']:checked").parent().prev()[0].outerHTML;
      

  4.   

    如果必须要这样写能够达到效果,那么楼主你还是换种思路吧,parent,prev这么多可想而知你后期代码要是改动一点,全部都要改了。