I am trying to convert an <input type="submit"> button to a <button> element along with all it's id, class, events, tabindex etc.
Any idea on a good approach? jQuery is also an option.
Note: I do not have access to the original <input type="submit"> html code.
buttonelement since I am using an icon font for the text and the value attribute can't take any entities.