Last active
February 8, 2024 06:07
-
-
Save feliperomero3/bc702318ea1dddf3b1bc to your computer and use it in GitHub Desktop.
jQuery snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var toCheck = $('input[type=checkbox]').filter('[value=' + rateCode + ']'); | |
//$('input[type=checkbox]').filter('[value=1022]').attr('checked', true); | |
var toCheck3 = $('input[type=checkbox][value="' + rateCode + '"]'); | |
$('input[type=checkbox][value="1024"]').attr('checked', true); | |
var toCheck2 = $(':checkbox[value=' + rateCodeP + ']'); | |
//$(':checkbox[value='+rateCodeP+']').attr('checked', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment