If you have direct access to the html, you should be able to follow the standard method by adding an ID to the button like so:
<input type="button" value="Submit" id="id1 id2 id3"/>
If you don't, and can only add scripts to the page, an easy jQuery would be like this:
$('element').attr('id', 'value');