cancel typing on form

Posted by ntan on Stack Overflow See other posts from Stack Overflow or by ntan
Published on 2010-06-10T11:28:19Z Indexed on 2010/06/10 11:33 UTC
Read the original article Hit count: 152

Filed under:

Hi,

i have a dialog box with 2 text inputs.Dialog has 2 buttons ok/cancel

What i want is when open the dialog and input 1 has a value of "pets" and change it to "animals" when click ok holds the new value (animals) but when click the cancel return to old value (pets).

Any help appreciated

© Stack Overflow or respective owner

Related posts about form