jQuery checked selector

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 41

  • @jayshah9789
    @jayshah9789 8 ปีที่แล้ว +8

    Just Love the tutorials !!! They are too good !!!!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 ปีที่แล้ว +1

      +Jay Shah Thanks a lot for your feedback. This means a lot. I am pleased you found these videos useful.
      Dot Net & SQL Server video tutorials to help you become a web developer
      th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      DVDs for offline viewing
      www.pragimtech.com/Order.aspx
      Slides & Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      To receive email alerts, when new videos are uploaded, please subscribe to my channel
      th-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video
      May I ask you to please share the link with your friends and family who you think would also benefit from them
      Thank You
      Venkat

  • @pangiras
    @pangiras 7 ปีที่แล้ว +3

    Sir your tutorials are best in class.They reflect the amount of hard work you have put in making these tutorials.MAY GOD BLESS YOU

  • @html5andcss380
    @html5andcss380 8 ปีที่แล้ว

    GREAT EXPLANATION ..I HAVE EVER SEEN IN TH-cam TUTORIAL VIDEOS...GREAT WORK...

  • @Iamdolphin1987
    @Iamdolphin1987 9 ปีที่แล้ว +4

    Absolutely love all the tutorials

  • @treztreiz6370
    @treztreiz6370 8 ปีที่แล้ว

    Awesome tuts !!!
    Actually I think that we can just write if(inputChecked.length) instead of if(inputChecked.length>0) because 0 is considered as false in javascript ^^

  • @georgigeorgiev2219
    @georgigeorgiev2219 9 ปีที่แล้ว +2

    Thank you very much for this tutorial.
    GOD bless you and keep you in THE NAME of LORD JESUS CHRIST. Amen.

    • @georgigeorgiev2219
      @georgigeorgiev2219 9 ปีที่แล้ว

      Okay. I will share this video. Thank you for the links :).

  • @rucklerful
    @rucklerful 8 ปีที่แล้ว +2

    man, you're tutorials are the best on youtube. One question: why do you give the same name to all the checkboxes? Is this the reason why the jquery returns an array? Thank You.

    • @veerua1087
      @veerua1087 8 ปีที่แล้ว +3

      Same name groups radio buttons so when you check one, any other checked ones from same group will not be checked..

  • @sagarsaini2315
    @sagarsaini2315 5 ปีที่แล้ว

    Nice tutorial , can you suggest me to find out how to prevent being checked remaining radio button after first time checked.

  • @alaaabdelfatah
    @alaaabdelfatah 9 ปีที่แล้ว +1

    Thank you very much for this tutorial.

  • @raphaelbernard7954
    @raphaelbernard7954 7 ปีที่แล้ว

    Thank you for the tutorials.

  • @goutamkundu6392
    @goutamkundu6392 7 ปีที่แล้ว

    Really very good tutorial

  • @Asisvenia
    @Asisvenia 5 ปีที่แล้ว +1

    If you click 'submit' button then page will refresh itself. So that div value will be empty in a second. If you don't want this happen use a function with "e" parameter then call it: e.preventDefault();
    whole script will be:
    $(document).ready(function () {
    $('#btnSubmit').click(function (e) {
    e.preventDefault();
    var result = $('input[type="radio"]:checked');
    if (result.length > 0) {
    $('#divResult').html(result.val() + " is checked");
    } else {
    $('#divResult').html("No radio is checked");
    }
    });
    });

  • @morsheddld
    @morsheddld 6 ปีที่แล้ว

    thanks a lot . It was a very helpful video

  • @ArjunSisodia08
    @ArjunSisodia08 7 ปีที่แล้ว

    Thanks for this tutorial

  • @lathasivapalan
    @lathasivapalan 8 ปีที่แล้ว

    very helpful tutorial

  • @JaydeepChelaiya
    @JaydeepChelaiya ปีที่แล้ว

    1. How can i remove checked checkboxes counter??
    2. How can i add single value in different html div element with class & span as child element of it.

  • @debasmitaswain6000
    @debasmitaswain6000 8 ปีที่แล้ว +1

    awesome concepts

    • @mansoor3559
      @mansoor3559 6 ปีที่แล้ว

      Debasmita Swain hi

    • @mansoor3559
      @mansoor3559 6 ปีที่แล้ว

      Debasmita Swain ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ ۔ Hi

  • @fusome
    @fusome 3 ปีที่แล้ว

    why in my case it works only during click event & in your case it saves result in html after click?

  • @enenotowitch628
    @enenotowitch628 4 ปีที่แล้ว

    5:47 - 3 checkboxes checked .length .each += .val

  • @mahipalkamanchi
    @mahipalkamanchi 9 ปีที่แล้ว +1

    thank u sir..

  • @hendesebilisim
    @hendesebilisim 7 ปีที่แล้ว

    Thank you sir

  • @sandipghoshal4402
    @sandipghoshal4402 7 ปีที่แล้ว

    Hi, there's a glitch, if i add form tag then the the value of the checked radio button assigned to the new element doesn't show up on the page, it just appears and goes away

  • @priyankamulay9140
    @priyankamulay9140 6 ปีที่แล้ว

    what is the input type if we take asp:RadioButtons

  • @ivansimovic2133
    @ivansimovic2133 9 ปีที่แล้ว +1

    Cool

  • @rahullodhi304
    @rahullodhi304 5 ปีที่แล้ว

    sir please... can you tell me this code is only work with HTML input elements(checkbox or radio buttons) ? Actually i m try this code with ASP.NET checkboxs or radio so its only give a ON text or output screen .... PLEASE SIR GIVE A SOLUTION

  • @keepwatching1128
    @keepwatching1128 4 ปีที่แล้ว

    i write same program with different variable name, its is returning correct statement but disappear in a second. what to do?

    • @danishmalak9221
      @danishmalak9221 4 ปีที่แล้ว

      Just change the button type attribute to button

  • @maheshnomula9883
    @maheshnomula9883 7 ปีที่แล้ว

    good

  • @amitkishor7338
    @amitkishor7338 7 ปีที่แล้ว

    how to bind checked selector in database

  • @avinashpatil1734
    @avinashpatil1734 8 ปีที่แล้ว

    how to apply jquery to this

  • @dherendrakumar7719
    @dherendrakumar7719 7 ปีที่แล้ว

    sir don't you have javascript tutorial in php

  • @suvvalaramki3830
    @suvvalaramki3830 5 ปีที่แล้ว

    how to mark checkbox by default ,pls help me out

    • @innoviawork7098
      @innoviawork7098 4 ปีที่แล้ว

      just write "checked" without double quotes inside radio button you want as default checked.

  • @995541563
    @995541563 7 ปีที่แล้ว

    resultString+=$(this).val() +""; Plz explain this statment

    • @1986nesha
      @1986nesha 7 ปีที่แล้ว

      So, above you have var result, it will return a group of results. When you do
      result.each
      you create a function that will work for each result in that group. So, if the group has 4 results it will do 4 iterations. (this) keyword is actually referring to result of current iteration. So,
      resultString+=$(this).val() +""; actually means
      resultString = resultString + $(this).val() +""; So here, you are assigning the value of current iteration "$(this).val()" to resultString, and you are adding a break with "" so it would go to another row for the next iteration.
      For next iteration (this) keyword will now refer to result of that iteration and it will repeat the whole process. I hope that i was clear with my explanation :)

    • @innoviawork7098
      @innoviawork7098 4 ปีที่แล้ว

      @@1986nesha no i am not