解决方案 »

  1.   


    $('document').ready(function(){
            $('button').on('click',function(){
            var price=$('<span style="font-size:14px; color:red"><strong>from 5000</strong></span>');
                //$('.vacation').append(price);
    //            $(this).closest('.vacation').append(price);
                $(this).after(price);
                $(this).remove();
                 
            });
    }); 
      

  2.   

     var price=$('<span style="font-size:14px; color:red"><strong>from 5000</strong></span>');
    这句放click里啥???