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

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).

Umiejętności: JavaScript

Zobacz więcej: create multiple forms page joomla, reload page without alert javascript, php dynamic multiple forms page, multiple forms page layout, javascript multiple forms page, submit multiple form script java javascript, exit page script javascript, javascript page script exit, javascript multiple file uploads script progress bar, javascript multiple file uploads script, javascript multiple image scroller script, drupal javascript page script, multiple forms page, multiple forms submit javascript html, javascript total forms page

O pracodawcy:
( 6 ocen ) Balmain, Australia

Numer ID Projektu: #12660598

Przyznany użytkownikowi:


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, Więcej

$17 AUD w ciągu 0 dni
(20 ocen)

4 freelancerów złożyło ofertę na kwotę $34 do tego projektu

$40 AUD w ciągu 1 dnia
(11 Oceny)

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 Więcej

$50 AUD w ciągu 1 dnia
(5 Oceny)
$30 AUD w ciągu 1 dnia
(0 Oceny)