+ 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
3 odpowiedzi
+ 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