Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Fill in to get the value of the form field with id="name" and set it as the text of the paragraph with id="txt".

var v = $("#name").val();
$("#txt").text(v);
 
PREVIOUS NEXT
Tagged: #Fill #form #field #set #text #paragraph
ADD COMMENT
Topic
Name
2+6 =