Тёмный

#21 Taking Input from Radiobuttons in Javascript 

Telusko
Подписаться 2,5 млн
Просмотров 199 тыс.
50% 1

Опубликовано:

 

31 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 120   
@UpasanaDeka
@UpasanaDeka 4 года назад
It's 2:05 am and I've been trying to do this for about 2 hrs now! I'm nearly crying! Thankyou so freaking much !! Duaayee milengi :')
@mitchellbennett3638
@mitchellbennett3638 3 года назад
dunno if anyone cares but if you guys are stoned like me during the covid times then you can watch all of the new movies on instaflixxer. Been watching with my gf recently =)
@santanamayson2872
@santanamayson2872 3 года назад
@Mitchell Bennett yup, have been using InstaFlixxer for months myself :)
@jaykhari2092
@jaykhari2092 3 года назад
@Mitchell Bennett yea, I've been using InstaFlixxer for years myself :D
@richardmpofu7729
@richardmpofu7729 4 года назад
This is best tutorial i have ever seen! I've tried so many tutorials and failed to understand. This is one in million. Thanks so much!!!!!!
@GuitarreroDaniel
@GuitarreroDaniel 4 года назад
Thank you very much! At first I was worried that you weren't Mr. Navin, but you explained it very well!
@marienortiz4361
@marienortiz4361 2 года назад
It took me a little bit of time to get used to the accent (my first language is spanish), but when I got used I found it very clear and helpful. Thxs!!!
@chinmaydas4053
@chinmaydas4053 6 лет назад
Very nice video series going on.. concise but all important practical useful topics discussed deeply with examples which is the most important for practical solving problems.. want more and more practical useful topics discussion deeply 👌✌️🙏🙏🙏...
@SimpleSnippets
@SimpleSnippets 6 лет назад
Yup many more coming ahead buddy ✌
@JesusGomez-uo5ei
@JesusGomez-uo5ei 5 лет назад
I've been searching for a playlist like this for the las 5 days, omg thank you!!!
@humita4610
@humita4610 2 года назад
I'm gonna cry, this is so well explained and useful
@charvipattila7973
@charvipattila7973 3 года назад
You are the best. The way you explain everything is super good.
@priyankamokase8646
@priyankamokase8646 3 года назад
Really helpful for me thank you. I've been trying to do it but not getting the exact output then I came across this video and use your trick and solved the issue.
@andretenorio1233
@andretenorio1233 2 года назад
zica d+ man - THANK YOU SO MUCH - SUBSCRIBED :)
@1theblackswordsman
@1theblackswordsman 2 года назад
अच्छा, धन्यवाद, पूरी तरह से काम किया
@handover007
@handover007 4 года назад
As always your every video is pure gold .
@shiyamabhisak4778
@shiyamabhisak4778 3 года назад
Your way of teaching is Superb Sir !!! I like ur way of teaching very much :)
@C.Sakthivignesh
@C.Sakthivignesh 2 года назад
Thank you so much sir for this video
@marcelomiranda9623
@marcelomiranda9623 3 года назад
I like so much your class. Congratulations.
@onder452
@onder452 2 года назад
simple and good tutorial, thanks !
@erenkucuk4577
@erenkucuk4577 3 года назад
I've been trying for a week thankk
@karlkarlson1606
@karlkarlson1606 4 года назад
Thanks for posting this man I was going nuts trying to figure something out and although it was not exactly the same project you helped me figure out what I needed to know to get mine working.
@archanaagarwal1493
@archanaagarwal1493 3 года назад
Loving the series 🔥
@Chetan_Hansraj
@Chetan_Hansraj 4 года назад
Tanmay ur fantastic teacher . god bless
@mateuscarvalho7463
@mateuscarvalho7463 3 года назад
Finally a good video
@msms3260
@msms3260 3 года назад
The young man is doing a great job with the videos, no question. But learning JS seems like knowing and memorizing a bunch of commands, like reading a operator manual for a new gadget, with no high level education needed.
@rahul-java-dev
@rahul-java-dev 5 лет назад
very very useful tutorials..sir.........thankk u so much
@dennislarsen5744
@dennislarsen5744 3 года назад
Good guide and precise. Thanks!
@thelonewolf9866
@thelonewolf9866 5 лет назад
Works like a charm! Thank you!
@kmuralikrishna1582
@kmuralikrishna1582 5 лет назад
checked(rd1.checked) is not working, is it working ....? even i googled it also no luck
@bharathisubbara8074
@bharathisubbara8074 5 лет назад
nice explanation sir....anyone can easily understand the concept..thank u
@avinashkumargaurav9088
@avinashkumargaurav9088 5 лет назад
Awesome contents , Thanks a lot.
@abdifitahmashquul5735
@abdifitahmashquul5735 4 года назад
thanks best lecture i saw it it's so clearly explaination for these videos on js
@chennamvaishnavi4983
@chennamvaishnavi4983 4 года назад
Use black board because when we using white board the letters are looking like blure
@shitalgupta6486
@shitalgupta6486 5 лет назад
sir my whole code is correct but it is not run properly alert tag is not working......
@bernardmuchemi196
@bernardmuchemi196 4 года назад
Bro .. how are you? coz honestly this tutorial is f*cking amazing and my professor couldnt explain the way you just did. thank u so much.
@rishisharma8596
@rishisharma8596 3 года назад
Great 👍🏻
@heelpatel1727
@heelpatel1727 4 года назад
Thank you so much for sharing this knowledge sir i m solving this question but rd1.checked is not working please help
@silkysrinivas4878
@silkysrinivas4878 4 года назад
Replace ture with 1 now it will work
@dhanukaperera2845
@dhanukaperera2845 5 лет назад
superb tutorial
@sudhakarverma8452
@sudhakarverma8452 6 лет назад
Very nice funda sr
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thanks buddy :-)
@ed-dafaliachraf8476
@ed-dafaliachraf8476 3 года назад
This is helpful thanks to you
@sarthaksrivastav7239
@sarthaksrivastav7239 4 года назад
Hello Sir, This code which you explain here is not showing alert box when I execute it in my PC. Will you please help me?
@maheshb1881
@maheshb1881 4 года назад
try this code: Creating Radiobuttons function fn() { /* var rd1 = document.getElementById("rd1"); var rd2 = document.getElementById("rd2"); */ if (rd1.checked==true) alert("the channel selected is :"+rd1.value); else if (rd2.checked==true) alert("the channel selected is:"+rd2.value); else alert("No chaneel selected"); } Bby Boy Ashwath Sellect
@maheshb1881
@maheshb1881 4 года назад
i think in input tag your not given ID tag just check it once
@sergiobrunos3665
@sergiobrunos3665 4 года назад
(Edited:) 1:17 A MASSIVE MISTAKE : input is a self closing tag. This should be told.
@yogeshdeshpande9532
@yogeshdeshpande9532 4 года назад
Perfect💯👍
@kmuralikrishna1582
@kmuralikrishna1582 5 лет назад
you know checked(rd1.checked) is not working, its it not available seems like. i can able to get till rd1.value, but in if condition rd1.checked is not working
@kmuralikrishna1582
@kmuralikrishna1582 5 лет назад
if(document.getElementById("mrd").checked == true) { alert("Checked Male value is: "+rdmale); } is working fine now.
@kingharry2687
@kingharry2687 4 года назад
yes its not working
@surahome
@surahome 4 года назад
good video.thank you
@aakarshjain7026
@aakarshjain7026 6 лет назад
Nice
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thanks Aakarsh :-)
@shaiksameer2776
@shaiksameer2776 5 лет назад
we can able to click both radio buttons on the same time and click the button...just i have to click only one radio button
@shaiksameer2776
@shaiksameer2776 5 лет назад
it is the name attribute we have to mention same values for both the radio buttons
@hogware326
@hogware326 4 года назад
How to make it downloaded a file when he select 1 and hit apply
@krishnaprasad5672
@krishnaprasad5672 6 лет назад
Thank U VeryMuch.
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thanks Krishna :-)
@kishorks5960
@kishorks5960 6 лет назад
Keep doing more videos on js this is helps me lot and thank you
@SimpleSnippets
@SimpleSnippets 6 лет назад
Yes Kishor, lot more videos coming under this series 😇✌️
@kishorks5960
@kishorks5960 6 лет назад
@@SimpleSnippets Thank you
@digitalaayam2503
@digitalaayam2503 3 года назад
add a video of database connectivity with javascript
@keshvanrawool6347
@keshvanrawool6347 3 года назад
When to use getelementbyid.innerhtml and getelementbyid.value? What is the difference between them?
@naturetalk7071
@naturetalk7071 5 лет назад
Why did you use a closing input? I thought the input tags doesn't need a closing tag.
@jyothikethireddy5712
@jyothikethireddy5712 4 года назад
Hi sir please share oops concepts of js if possible and tank you for sharing the above
@ankita632
@ankita632 4 года назад
Input tag is a singular tag. So may i know why have you used it as a paired tag? It's confusing.
@bernetsubo4431
@bernetsubo4431 4 года назад
how long it takes to learn javascript ?
@ankita632
@ankita632 4 года назад
@@bernetsubo4431 it all depends from person to person. If you have done any other language earlier, it shouldn't take much time to learn JavaScript. The most important thing is to build logics.
@shruti2400
@shruti2400 6 лет назад
My script code isn't working ... on click event alert box is not showing ... & one more thing in alert method rd1& rd2 are variables or id of input element
@SimpleSnippets
@SimpleSnippets 6 лет назад
Check if JS is by default enabled on your browser. Check for typing mistakes. In alert method the rd1 & rd2 are reference objects to the actual HTML radio elements.
@rimaprakash1610
@rimaprakash1610 4 года назад
sir, my visual studio code does not have properties like checked or options. So the code is not working properly..What will I do?
@maheshb1881
@maheshb1881 4 года назад
Hi Tanmay i am mahesh why we are typing this (/* var rd1 = document.getElementById("rd1"); var rd2 = document.getElementById("rd2"); */) without this code also we can execute the program right
@filmpanel4158
@filmpanel4158 2 года назад
how to that?
@sreeshanthanreddykuthuru7359
@sreeshanthanreddykuthuru7359 4 года назад
Use different name for varaibles and input tag will not have close tag
@globalgupta6808
@globalgupta6808 3 года назад
What is the use of name="grp1" here
@signature445
@signature445 5 лет назад
Hi would anyone please explain how rd1 turns to an object , why it is not a variable
@true4189
@true4189 3 года назад
Thank u
@abhishekdhillon8731
@abhishekdhillon8731 6 лет назад
in input tag what are the function of value and name attribute ??
@SimpleSnippets
@SimpleSnippets 6 лет назад
They are known as attributes of HTML tags. Thats something related to HTML. So most tags in HTML have inbuilt attributes that add some details to the tag. for example a tag has width, height, ID, name etc. You can google it up for now, its kinda pretty easy. search HTML tags and attributes.
@shally4477
@shally4477 5 лет назад
What if there are more than 15 or 20 radio buttons ? Then there'll be a huge nest of if else 🤔 Please suggest the solution.
@silkysrinivas4878
@silkysrinivas4878 4 года назад
. checked property is not working
@mrrishiraj88
@mrrishiraj88 3 года назад
🙏🙏
@MANISHSHARMA-xk1su
@MANISHSHARMA-xk1su 6 лет назад
What is peace sound in the end of your every video....
@SimpleSnippets
@SimpleSnippets 6 лет назад
I just like to end my videos on a positive note 😋 So that's why... Peace ✌️ Kinda got that habit from MKBHD
@MANISHSHARMA-xk1su
@MANISHSHARMA-xk1su 6 лет назад
@@SimpleSnippets That's Awesome...❤️👍
@SimpleSnippets
@SimpleSnippets 6 лет назад
@@MANISHSHARMA-xk1su thanks bro 👍😇
@MANISHSHARMA-xk1su
@MANISHSHARMA-xk1su 6 лет назад
@@SimpleSnippets Brother please try to make Algorithms video on your channel... I would love to learn such topics from you....
@SimpleSnippets
@SimpleSnippets 6 лет назад
@@MANISHSHARMA-xk1su yes bro you're in luck. I've been planning DS and algorithms since 4 months now and have got many requests. So yeah mostly I'll be starting it by December or next year start pakka ✌️😉
@sindhu-km3zj
@sindhu-km3zj 3 года назад
Js was not working for in Atom Where textbox program I type but it's not showing output
@Ram-vg5fu
@Ram-vg5fu 3 года назад
Hii sindhu
@cartoons__for__kids_Hindi
@cartoons__for__kids_Hindi 3 года назад
Sir, checked is not working please help.
@lokesh1058
@lokesh1058 4 года назад
Bro input tag don't have end tag I guess
@butterfly-cm3oh
@butterfly-cm3oh 4 года назад
Thank you
@satyam_krishna
@satyam_krishna 5 лет назад
super videos good explanation,but the keyboard sound is annoying
@mysteriousbillionaire7349
@mysteriousbillionaire7349 3 года назад
Can't you do this without a click me button???
@mofumofu3699
@mofumofu3699 4 года назад
Someone can help me? how to sum if the value was changed to "1". For example i want to sum value rd1 + rd2
@caroloncrypto971
@caroloncrypto971 6 лет назад
Where is ravin?
@047gauravkumartiwari5
@047gauravkumartiwari5 4 года назад
Checked is not working
@rahulchopade6757
@rahulchopade6757 5 лет назад
I not able to solve two text field ie name and password
@niketankmogha
@niketankmogha 4 года назад
if you have 10 radio button you will make 10 variables to check this it's totally wrong. Developer needs to write less code. we can use here for loop for this.
@nominb190
@nominb190 4 года назад
white code in the comment pls
@shobanraj4732
@shobanraj4732 3 года назад
Can anyone help me whats wrong in the below lines of code Sample Javascript function fun() { var a= document.getElementById("rd1"); var b= document.getElementbyId("rd2"); if(a.checked==true) alert("The vehicle selected is:" +a.value); else if(b.checked==true) alert("The vehicle selected is:" +b.value); else alert("No vehicle selected"); } Car Bus Submit
@sheikhbabarqadri636
@sheikhbabarqadri636 5 лет назад
*obj1.checked is not working function buttonClick() { alert("Heeeey"); var obj1 = document.getElementById("rd1").value; alert(obj1); var obj2 = document.getElementById("rd2").value; alert(obj2); if(obj1.checked == true) { alert("iffff"); //this if is not woriking ? document.write("the selected button is "+obj1.value); } else if (obj2.checked == true){ document.write("the selected button is "+obj2.value); } else { document.write("notttthing"); } }
@horror4097
@horror4097 3 года назад
I need ammo
@MrMarkgyuro
@MrMarkgyuro 5 лет назад
radio GAGA radio GUGU
@saaaaaaaaad
@saaaaaaaaad 3 года назад
why are u using light theme? have you no shame?
@jithinp8441
@jithinp8441 3 года назад
god exist
@FINXainarskrastins
@FINXainarskrastins 4 года назад
Lmao, ofcorse a indian will explain me the one thing i dont understand and trying to do now in my school homework... thanks for the video i guess...
@arnavraj9094
@arnavraj9094 4 года назад
.
@pavankumar-ix2ck
@pavankumar-ix2ck 4 года назад
thank you
Далее
#22 Taking Input from SelectBox in Javascript
6:04
Просмотров 133 тыс.
Китайка и Подруга Лапка😂😆
00:21
#33 Timing Functions in JavaScript
10:53
Просмотров 87 тыс.
#9 JavaScript Tutorial | If Else Control Statements
10:18
#10 JavaScript Tutorial | Switch case
9:10
Просмотров 171 тыс.
#23 getElementByTagName method in JavaScript
11:05
Просмотров 125 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 812 тыс.
Learn JSON in 10 Minutes
12:00
Просмотров 3,2 млн
Китайка и Подруга Лапка😂😆
00:21