jquery.AreYouSure icon indicating copy to clipboard operation
jquery.AreYouSure copied to clipboard

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?)

Results 83 jquery.AreYouSure issues
Sort by recently updated
recently updated
newest added

For selects with a lot of options the old code was inefficient. This fixes this problem.

The script not recognize changes from tinymce editor 4

question

If possible, save the field data on the form to be able to check the field value when DOM manipulations occur within the form.

Steps to reproduce 1. Click on a checkbox 2. Close the window. It will ask to leave or stay. click on stay 3. Click on the checkbox again to toggle...

Thanks to Ruby on Rails' "unobtrusive" (ha!) JS library (UJS), every form that has a `authenticity_token` field in it (which is all forms not marked as 'remote', assuming CSRF protection...

If an input tag is missing the name attribute `` then it is completely ignored from the dirty forms tracking. Lines 28-34 (jquery.areYouSure.js) clearly show this as the intention but...

idea

Example for #31. Sorry if this is messy, I haven't done a pull request before. Of course feel free to adapt/move the changes wherever you think it fits best.

Since the standard alert box is so ugly, it would be nice for the library to allow us to pick a custom function for fire instead of the alert.

question

Explain that AreYouSure does not monitor input elements without the `name` attribute