jquery add text to element code example
Example 1: jquery append text to div
$( "#divId" ).append( "<p>Test</p>" );
Example 2: jquery add text to textbox
jquery add text to textbox
$("#id").val(whatever you want to display inside the textbox)
$( "#divId" ).append( "<p>Test</p>" );
jquery add text to textbox
$("#id").val(whatever you want to display inside the textbox)