change id in jquery

JavaScript
$('#writ_issued_c_trigger').attr('id','oepl_writ_issued')
Source

Also in JavaScript: