0
jquery
Rearrange the code to get the value of the form field and set it as the value of the paragraph with id="demo". }); $(function() { $("#demo").text(t); var t = $("#user").val();
2 odpowiedzi
+ 8
$(function() {
var t = $("#user").val(); // get the value of the form field
$("#demo").text(t);
// set it as the value of the paragraph with id="demo"
});
And please don't post comments that contain only answers without any explanations:
https://code.sololearn.com/WZa4XDtKmBgG/?ref=app
- 2
Hello
where are you from???