版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huangyuxin_/article/details/82564201
text = $(this).parent().find('span').text();
$(this).parent().find('span').replaceWith("<input type='text' value='"+text+"' name='real_name' />")
text = $(this).parent().find('span').text();
$(this).parent().find('span').replaceWith("<input type='text' value='"+text+"' name='real_name' />")