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