Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Several submit buttons in HTML page
Message
 
 
À
03/06/2015 15:19:18
Information générale
Forum:
HTML5
Catégorie:
HTML
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01620499
Message ID:
01620610
Vues:
39
>Actually, it seems to be something like navigate('REZ://...

No, it is this
<FORM METHOD="post" ACTION="rez://ADDITEM" ID="frmAddItem" NAME="frmAddItem">
and the button is of type submit.

So, somehow all the form's values are added to the string being posted. May be there is a different way. Say, instead of the action somehow send a hidden input? E.g. I can add some extra functionality to set some extra hidden input to be btnRemoveOverdue. My code just checks for the 'btnRemoveOverdue' to be inside the string.

I'll try this idea now instead of altering the action.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform