Jquery check box values are compatible with FF and IE8 of tests

  • 2020-03-26 21:41:32
  • OfStack

Plug-in version: jquery-1.6.min.js
 
var chk_value=""; 

$('input[name="rootMenu"]').each(function () { 
if (this.checked) { 
chk_value += this.value + "$"; 
} 
}); 
alert(chk_value); 
chk_value.split(","); 

Related articles: