codedance / jquery.AreYouSure

A light-weight jQuery "dirty forms" Plugin - it monitors html forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?)
507 stars 145 forks source link

Update jquery.are-you-sure.js #57

Open tus124 opened 10 years ago

tus124 commented 10 years ago

This additional check should resolve issue #55. $field.data('ays-orig') works for all other field types except select type.

tus124 commented 10 years ago

This additional check should resolve issue #55. $field.data('ays-orig') works for all other field types except select type.