how can I use the option :checked with $(this) in jQuery ?
i.e. $(this:checked) ?
thanks
$(this).filter(":checked");
or if you're testing it
if ($(this).is(":checked")){
// ...
}
Like this:
if ($(this).is(':checked'))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With