how to assign a time to an ID in jquery code example Example: change id in jquery $('#writ_issued_c_trigger').attr('id','oepl_writ_issued')