Hi,
I am working on stripes and currently I am having requirement of submitting a form using AJAX - with Prototype . But while doing this I am getting below Exception.
In my form I've save and cancel events on the "onClick" event. But the The reason behind using Ajax is that I want to check that whether my form is dirty or not whenever user click outside the page. At that time I need to check my form and if it is dirty then need to give
confirmationBox and if user clicks YES then need to submit the form and unsaved changes. But I am failing to pass the particular event with AJAX.
My code is :
Another attempt is :
Now if I remove
line and just pass the argument manually like
then the defaultHandler of my ActionBean is being called successfully. But I want to pass a form to a specific method. Here that method is callFromAjax().
Please guide me if you are getting my problem.