$(document).ready(function () { $("#done").click(function () { $('#txtname').replaceWith(function () { return '<div>' + $(this).val() + '</div>'; }); });
$("#done").click(function () { $('#txtname').replaceWith("<div>"+$(this).val()+"</div>"); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)