Jquery On('change'... Not Working In Multiple Tags February 21, 2024 Post a Comment I can't get the .val() of my second input select when I use jquery .on('change' function() I have 2 select elements: SSolution 1: $(document).ready(function(){ $("select").on('change', function(){ var mySel = $(this).val(); console.log(mySel); }); }); CopyYou need to use this! ** When you were using $('select') the val function can return a string only so it returns the first available value out of the selection made of 2 in your case Share Post a Comment for "Jquery On('change'... Not Working In Multiple Tags" Top Question Give This Function An Id We are making a advert div, and we have this function on mo… Getrowheight() Not Working With Rowmodeltype = 'infinite' With Latest Ag-grid Version I see this Note on ag-grid site: Changing the row height i… How To Loop Through Items In A Js Object? how can I loop through these items? var userCache = {}; use… Google Maps Api V3 Marker. Google Is Undefined I've a website with the google maps api which is loaded… Should I Manipulate Dom Directly Or Using React State/props? This is the situation: This component renders many data as … Passing Text_field Value To Will_paginate As Parameter In Rails I have a controller for Books, in index action I am using w… Load Different Css Stylesheet With Javascript I need to use javascript to load a different stylesheet bas… Set The Custom Properties In Joining Model Using Loopbacks Hasmanythrough I am trying to set up a many to many relationship in LoopBa… How To Get Form Data From Pdftron Webviewer I have a PDFTron webviewer which I use to render a pdf form… Difference Between For Loop And For-in Loop In Javascript I found that there is a difference between for loop and for… Recent Post Loading... December 2024 (1) November 2024 (39) October 2024 (62) September 2024 (19) August 2024 (375) July 2024 (340) June 2024 (708) May 2024 (1300) April 2024 (812) March 2024 (1586) February 2024 (1733) January 2024 (1387) December 2023 (1412) November 2023 (403) October 2023 (561) September 2023 (102) Widget HTML #3 Menu Halaman Statis Beranda © 2022 - especialidadeseivconstruccion