Please help me to change button value by css3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Please help me to change button value by css3

how can I change button value from "submit" to "error!" on hover ...is there any way???

15th Sep 2017, 11:40 AM
Gaman Tyagi
Gaman Tyagi - avatar
5 Answers
+ 5
i think your question is a little bit different ; i think you want client should not click button till they fill the required fields ; even if they try to click you want to change the button to error but this will bring other issues just give me a minute i will fix your code and let you check
15th Sep 2017, 12:20 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 5
here is my solution i hope you like it https://code.sololearn.com/Wds3EC2i7fkW/?ref=app
15th Sep 2017, 3:27 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
Actually I want to use transition effect on changing the text from "submit" to "error!". so, any other way to change the value of button?? https://code.sololearn.com/Wux5I9wsfyLZ/?ref=app
15th Sep 2017, 12:10 PM
Gaman Tyagi
Gaman Tyagi - avatar
+ 1
use the "onmouseover" function in JavaScript
15th Sep 2017, 12:01 PM
Owoeye Philip Oluwaseun
Owoeye Philip Oluwaseun - avatar
0
batau aabhi
29th Jun 2018, 10:02 AM
Diyam Tyagi
Diyam Tyagi - avatar