transfer value to another value with jqeury?

Can you combine two different values

that one and the other have the same value

best as jqeruy

<What_does_your_child_visit></What_does_your_child_visit>

<Kindergarten_Kita>2</Kindergarten_Kita>

Kindergarten_Kita should have the same value as Was_besucht_ihr_Kind

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
3 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
FaTech
1 year ago

For example, you can set the input event and then call html or text in jQuery when you change it. It should look like this:

$(".element1").on("input", ()=> {
    $(".element2").text($(".element1").val());
});

Depending on the exact application. Instead of inventing your own HTML tags, you should rather use div, p or other and use classes or id’s

FaTech
1 year ago
Reply to  maetin944