I have label alert i want it appears in one case only how please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have label alert i want it appears in one case only how please

15th Aug 2019, 2:13 PM
Tarek
4 Answers
0
Do you have a code or something that we can look at and fix?
15th Aug 2019, 2:16 PM
Hatsy Rei
Hatsy Rei - avatar
0
<input id="i2" type="text " placeholder="Enter yor age"> <label id="alert">*only numbers</label> </p> i want it appears if i wrote a text
15th Aug 2019, 2:22 PM
Tarek
0
Instead of using input type text why don't you simple using input type number, it will take care of it ..... for now
15th Aug 2019, 5:45 PM
Bug Slayer
0
Bec i want to know how. Just an example to use iton other things
16th Aug 2019, 12:43 AM
Tarek