Fix some Javascript - make one submission confirmation alert script work on multiple forms on a page

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

I have a script (SweetAlerts) that generates a confirmation alert box on a form when the user attempts to submit the form using a button. That form/button is dynamically generated hundreds of times on a page - but the script only works on the first button on the page. I just need to have it changed so that it will work for all forms on the page (they are all exactly the same).

JavaScript

Project ID: #12660598

About the project

4 proposals Remote project Active 7 years ago

Awarded to:

bdphpguru

Dear Sir, Able to start right now and complete as soon as possible. I have more than 2+ years experience in jquery,ajax,html,css,php, paypal integration and web based cms and frameworks like joomla,codegintter, More

$17 AUD in 0 days
(20 Reviews)
4.0

4 freelancers are bidding on average $34 for this job

RaybirdDesigns

Depending on the way the buttons are generated and the script runs, there is a good chance that the first one only receives the alert because the system is only looking for a single item, rather than all items of a sim More

$50 AUD in 1 day
(5 Reviews)
3.5