How To automatically hide text inside input, "Pasted text" after clearing input.? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How To automatically hide text inside input, "Pasted text" after clearing input.?

If i paste a text in input, it will show me your text pasted ! But after clearing input its not removed automatically? I need everything pasted text , it will be show, After clearing input every time it will be automatically hide. https://code.sololearn.com/WgI6NGNTAnRh/?ref=app

6th May 2023, 1:07 PM
𝐀ðēðžðŽðĄðš 𝐍ðĻðĻðŦ
𝐀ðēðžðŽðĄðš 𝐍ðĻðĻðŦ - avatar
2 Answers
+ 4
https://code.sololearn.com/WW6zsoW5hOk3/?ref=app
6th May 2023, 2:12 PM
āļŋâ‚ģāļŋÉŽâą Ã˜â‚ąÉ†âąĪ 🍞
āļŋâ‚ģāļŋÉŽâą Ã˜â‚ąÉ†âąĪ 🍞 - avatar
+ 1
If i add onfocus="this.value='';" In input, it will not be automatically hide?
6th May 2023, 1:54 PM
𝐀ðēðžðŽðĄðš 𝐍ðĻðĻðŦ
𝐀ðēðžðŽðĄðš 𝐍ðĻðĻðŦ - avatar