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?)
508 stars 145 forks source link

Demo doesn't work #135

Closed rowanbradley closed 6 years ago

rowanbradley commented 6 years ago

The demo file for AYS (which I eventually found at https://github.com/codedance/jquery.AreYouSure/blob/master/demo/are-you-sure-demo.html the links to it don't seem to work) and copied to my site, doesn't seem to work at all. I have changed multiple inputs of different types, and gone to Google, and nothing happens - no warning is displayed. What am I doing wrong?

Where will I find a working demo of this?

Thanks - Rowan

rowanbradley commented 6 years ago

Oh - I found the problem. The demo had assumed that the JS files were in the ../ directory. On my site they are not. I've fixed it now.

Thanks - Rowan