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