(function ($) { $.fn.popBox = function (options) { var defaults = { height: 100, width: 320, newlineString: "
" }; var options = $.extend(defaults, options); return this.each(function () { obj = $(this); var inputName = 'popBoxInput' + obj.attr("Id"); var labelValue = $("label[for=" + obj.attr('id') + "]").text(); obj.after('