I have a typical problem with the way JQuery finds a form’s action attribute.
Following is the code I am using to fetch a form’s action attribute
$("form").each(function() {
$(this).attr("action", ($(this).attr("action")) + "/submit");
});
It works fine at most of the places.
But for some of my pages that have property="action" for an input element or a hidden attribute with name=”action”, this does not work and I am not able to retrieve form’s action .