Select values of checkbox group with jquery

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

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

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

    It's amazing how you invite us to deep dive into learning jquery with such ease. Its impressive as well as creative. Nicely done tutorials. Thanks for hosting this on you tube.

  • @DollarLachimi
    @DollarLachimi 3 ปีที่แล้ว +1

    lot of kudos to kudvenkat u are just awesome man. u saved my most of time

  • @phaniraj434
    @phaniraj434 9 ปีที่แล้ว +3

    you make my life much easier venkat. thank you.

  • @mirzadedic333
    @mirzadedic333 7 ปีที่แล้ว +2

    Great lesson!!!
    All your series are just awesome!!!

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

    Your tutorials are very helpful,thanks!

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

    Thank you venkat sir!
    Nice tutorial. & Excellent explanation.

  • @sankeerthmariganti9794
    @sankeerthmariganti9794 7 ปีที่แล้ว +1

    hi good evening sir your videos helped me a lot.one question instead of name attribute we can use value attribute.

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

    Your videos are awesome, thanks!

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

      +Go Go Thanks a million for taking time to give feedback. I am glad you found the videos useful.
      Free Dot Net & SQL Server videos for web developers
      th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs for offline viewing, you can order them using the link below
      www.pragimtech.com/Order.aspx
      Code Samples, Text Version of the videos & PPTS on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use our channel
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      Want to receive email alerts, when new videos are uploaded, please subscribe to our channel using the link below
      th-cam.com/users/kudvenkat
      Please click the THUMBS UP button below the video, if you think you liked them
      Thank you for sharing these links with your friends
      Best
      Venkat

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

    You, sir, are a treasure.

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

    Thanx for these great video series! :)

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

    Good tutorial. And how do you print the results in an input?

  • @sachingreat222
    @sachingreat222 7 ปีที่แล้ว +1

    Dear Sir,
    How can we get checked checkboxes from database. We need to insert selected check box value in database for updation how can we get checked checkboxes

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

    superb please also provide for jquery validation

  • @sharifulislam8192
    @sharifulislam8192 2 ปีที่แล้ว

    Great, Thank you so much vai.

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

    Wonderful tutorial.

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

    Thank you for your efforts you are great

  • @jinivthakkar
    @jinivthakkar 9 ปีที่แล้ว +5

    Take a bow !

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

    Great job Venkat.

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

    nice tutorial..thanks

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

    Awesome buddy ,Thanks !

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

    Please help me. How to select multiple data from database using multiple selections on checkbox please make video

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

    so useful, thank sir

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

    Nice Tutorials...

  • @ZeeshanAli-li1hi
    @ZeeshanAli-li1hi 6 ปีที่แล้ว

    Sir can u provide me that how we select multiple checkbox data and send those datas in another page.
    If i want only one data will send or if i want that four data will send in another page than how i do.plz sir can u help me

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

    for the last example if your code is not working properly as venkat's.
    change click() event to change()
    something like this:
    $(document).ready(function(){
    var stringResult
    ;
    $('input[name="skills"]').change(function() {
    getselectedCheckboxes('skills');
    return false;
    });
    $('input[name="cities"]').change(function() {
    getselectedCheckboxes('cities');
    return false;
    });
    function getselectedCheckboxes(groupname)
    {
    var result=$('input[name="'+groupname+'"]:checked');
    if(result.length>0)
    {
    stringResult=result.length+" "+groupname+" selected";
    result.each(function(){
    stringResult += $(this).val()+"";
    });
    $('#div'+groupname).html(stringResult);
    }else{
    $('#div'+groupname).html("no "+groupname+" selected");
    }
    };
    });

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

    Thank you sir

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

    Thank you!

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

    how to group for asp checkbox ? plz plz reply

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

    how to get both checked and unchecked values

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

    ... isn't commonly recommended to use 'name' attribute only for posting with server ...

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

    If I want to check one group at a time 2nd group should not be check if 1st group is already checked

  • @DuyNguyen-vs5ul
    @DuyNguyen-vs5ul 4 ปีที่แล้ว

    Could anybody explain for me quote :
    input[name="' + groupname + '"]:checked
    Why we put '+ groupName +' here?
    Thanks alot

    • @mrudula584
      @mrudula584 4 ปีที่แล้ว +1

      Since there are 2 different checkbox groups but behaves same. For the same behaviour, instead of writing 2 different functions, we could use one function i.e. getCheckedCheckBoxes() for both.
      But how the function knows whether to display 1st checkbox group or the 2nd checkbox group when the buttons get clicked. So if we pass input[name=‘skills’] or input[name=‘cities’] to the function, it can identify based on the input name which checkbox group needs to be selected and displayed.
      Since we are using only one function and instead of hard coding... he passed the group name as Argument which contains either “skills” or “cities” to the input[name].
      If we observe, group name is mentioned for all the checkboxes in HTML and in the button events. That means if checkboxes or buttons are clicked, the group name will be identified. Please watch the video from 6.15 mins for better understanding. Good luck and have a nice day 🙂

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

    Sorry if I am a bit off here but...I know this is a way for youtubers to earn some money but these non-skippable commericals that popup every few minutes (and repeat 100 times) are terribly annoying.

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

    Great tutorial