+ 3
Hey Everyone i just want to know can we make enable an input tag in JS if it disable in Html.
15 Answers
+ 3
Kamran I believe this is what you ask
https://code.sololearn.com/Wvw4C39xy89B/?ref=app
+ 2
Kamran Hi kamran, you can do almost every even driven task with the help of evenlisteners in JavaScript. I'll surely help if you provide your code but i suggest you should learn the DOM manipulation & eventlisteners in details to have a better understanding on this.
+ 1
Yes you can.
Here's how:
https://www.w3schools.com/jsref/prop_text_disabled.asp
Next time, search on Google before asking.
+ 1
Yes, you can do more than that using DOM manipulation.
0
Thanks guys for your answers but i want to make a checkbox when iched the checkbox an input field is disbled is that possible if yes then plzz tell how.
0
Zexu Knub thanks bro for your suggestion but bro i dont have a proper code to send you bro for practice i just want to know how is this possible if you know just snd me short example of code if you can otherwise no problem and thnks againđ
0
Zexu Knub bro thank u so much for helping me bro you are such a nice guy âș
0
Kamran No Problem, Good luck!
0
Kamran Yes, i do
0
Kamran i don't mind but i don't use WA that often. You can have my telegram if you use it.
0
Kamran Like i said I've my accounts everywhere but the only social media app I'm using lately are Telegram, Discord & SoloLearn itself.
0
Hmm i understand ok bro is that possible to change the background of anything using checkbox when i checked the bckfround change hows its done just give me a little example like above.
0
Kamran it's no use, Watching tutorial or taking code from someone else only works if you try to figure out the logic & concept. In programming there ain't always one way of doing things as from the your profile we can see that you have completed the JavaScript course just open the 'DOM & Events' module & practice that.
Hope you understand what I'm saying here.
0
Ok bro thanks for sugesstion god bless you buddy
0
Kamran Sure, good luck!