title: change attribute of a button to submit
body: <p>Please help me to find how to change the attribute of a button to submit using JQuery when button is pressed.</p>
  
  <p>For example, when I press a button with value 'OK', it should change to type 'submit' and value become 'Save'</p>