0

suggest me the concept of declaring max length of text box

how to set limit of text box

14th Jul 2018, 4:51 PM
Vikram Thakur
Vikram Thakur - avatar
7 Answers
+ 1
use the max attribute <input type='text' max=10 >
14th Jul 2018, 5:21 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar
+ 1
html right
14th Jul 2018, 5:57 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar
+ 1
sorry not Max it maxlength if any trouble follow the link https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_maxlength
14th Jul 2018, 6:10 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar
0
ok thanks !
14th Jul 2018, 5:53 PM
Vikram Thakur
Vikram Thakur - avatar
0
i tried this but it was not worked ..may due to i added '10' in attribute
14th Jul 2018, 5:54 PM
Vikram Thakur
Vikram Thakur - avatar
0
yes html
14th Jul 2018, 6:00 PM
Vikram Thakur
Vikram Thakur - avatar
0
its ok ! thanks for help
14th Jul 2018, 6:41 PM
Vikram Thakur
Vikram Thakur - avatar