How to write input information into another input field as placeholder? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write input information into another input field as placeholder?

I want to get some user input and use is as placeholder for another input field. I think I need to manipulate the attribute placeholder with JS.

20th May 2022, 8:02 AM
Philipp
Philipp - avatar
1 Answer
0
What is it exactly are you trying to do? the placeholder attribute is supposedly set at development time to provide hints on what input was expected. It's not supposed to be set on some user's input ...
20th May 2022, 8:54 AM
Ipang