function add_checkbox(checkbox_for){
  var checkbox = document.createElement('input');
  checkbox.type = "checkbox";
  checkbox.name = checkbox_for;
  checkbox.id = count_attr;
  checkbox.className = checkbox_for;

  return checkbox;
}
/**
 * Create check option for given string
 */
Create check option for given string
Create check option for given string
function add_checkbox(checkbox_for){
  var checkbox = document.createElement('input');
  checkbox.type = "checkbox";
  checkbox.name = checkbox_for;
  checkbox.id = count_attr;
  checkbox.className = checkbox_for;
  return checkbox;
}
function add_checkbox ( checkbox_for ) { var checkbox = document . createElement ( 'input' ) ; checkbox . type = "checkbox" ; checkbox . name = checkbox_for ; checkbox . id = count_attr ; checkbox . className = checkbox_for ; return checkbox ; }
Create check option for given string
Create check option for given string