Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery get the form select value

Tags:

html

jquery

forms

I am working with a jQuery code. The code listen from an event "change" from the radio button. I want to use select instead. How can I make this work?. See the code below

$("#filters input:radio").on("change", function () {
like image 838
user2711365 Avatar asked Dec 04 '25 10:12

user2711365


1 Answers

I think it should be

$("#filters select").on("change", function () {

As select is not an input tag?

like image 144
chrisarton Avatar answered Dec 07 '25 00:12

chrisarton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!