You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using jquery.dirtyforms for my project and include jquery.dirtyforms.dialogs.bootstrap for nice modal as well.
My problem was :
I have tag and have onclick event on it. When click on this tag, the modal always display, after that , it do my onclick function.
I just use basic init like this :
$VHC.DirtyForm.Init = function (id) {
var options = {
message: "Some fields have been changed. Do you want to save changes?",
dirtyClass: "dirty",
fieldSelector: ":input:not(input[type="submit"]):not(input[type="button"])",
fieldEvents: "change keyup propertychange input"
};
$(id).dirtyForms(options);
}
Do you have any idea about this issue ?
The text was updated successfully, but these errors were encountered:
did you try to do e.stopPropagation() OR e.stopImmediatePropagation() on the click event of the A tag. Without some code example i can only do guesstimates...
Hi there,
I am using jquery.dirtyforms for my project and include jquery.dirtyforms.dialogs.bootstrap for nice modal as well.
My problem was :
I just use basic init like this :
$VHC.DirtyForm.Init = function (id) {
var options = {
message: "Some fields have been changed. Do you want to save changes?",
dirtyClass: "dirty",
fieldSelector: ":input:not(input[type="submit"]):not(input[type="button"])",
fieldEvents: "change keyup propertychange input"
};
$(id).dirtyForms(options);
}
Do you have any idea about this issue ?
The text was updated successfully, but these errors were encountered: