+ 1
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 = $("#na
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"). ; $(" ").text( );
4 Réponses
+ 2
var v = $("#name").val()
;
$("#txt
").text(v
);
+ 1
Answer
Val()
#txt
v
0
plz help
- 3
https://code.sololearn.com/W92qQdFZEs5y/#html
// My solution is simple JavaScript, but JQuery code is in JS