Home >Web Front-end >JS Tutorial >Problem with jquery selecting checked in ie8 normal mode_jquery
It was found that in IE8 normal mode,
$("input[name='check']:checked").val() can select the corresponding check box normally
while $("input [name='check'][checked]").val() will make an error, and the selected item will be randomly selected
It’s very strange