jquery set the id of an element code example
Example 1: change id in jquery
$('#writ_issued_c_trigger').attr('id','oepl_writ_issued')
Example 2: store id of an element jquery
$(". only_this_class"). click(function() { var clickedId= $(this). attr("id"); alert(clickedId); });