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

Befejezett Kiadva: 7 évvel ezelőtt Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

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

Projektazonosító: #12660598

A projektről

4 ajánlat Távolról teljesíthető projekt Utoljára aktív: 7 évvel ezelőtt

Odaítélve:

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, Továbbiak

$17 AUD 0 napon belül
(20 értékelés)
4.0

4 szabadúszó tett átlagosan 34$ összegű árajánlatot erre a munkára

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 Továbbiak

$50 AUD 1 napon belül
(5 vélemény)
3.5