Skip to content
Advertisement

How to submit form and handle events using onclick(js function) method in same submit type input field(button)

JavaScript
JavaScript

when I tried to submit this form and change the class names by using js function “onclick=”takeaction(this.id ,’tr4′,’tr4_i’,’form’)” the form is submitted but class names are not changed. I want to do both these processes at once

Advertisement

Answer

JavaScript
JavaScript
You may help this code. I used some jquery inside the js function.
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement