how to update data dynamically in javascript code example Example: switch19 dynamically update js $('#ELEMENT_ID').attr('checked', 'false');