Bonjour à tous,
Je suis confronté à un problème pour soumettre un formulaire. J'ai passé pas mal de temps à trouver la solution mais hélas, need help pliz.
Voici le code et à à l'appel de l'event onChange une errur javascript pop à l'ecran. Si quelqu'un pourrait me dire pourquoi çà affiche le msg d'erreur...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 <h2 >Gestion des urls du client:<p id="owner"></h2> <form action="clients.php?action=03" method="post" name="gestionurl"> <input name="clientID" type="hidden" value="2"> <input name="action" type="hidden" value="Gérer URL">2 de vos URLs sont enrégistré(s) <table width="400" border="1" cellspacing="0" cellpadding="0"> <tr><td>Selectionnez:</td> <td> <!-- <select name="existant" id="existant" onchange="this.form.submit()"> --> <select name="existant" id="existant" onchange="document.gestionurl.submit()"> <option>Vos URLs</option><option value="1">http://www.cocacola.com</option><option value="2">http://www.fantaorange.fr</option> </select><a href="" target="_blank">Visiter</a></td></tr> <tr> <td>Nouveau: </td><td><input name="url" type="text" value="http://"></td></tr> <tr> <td>Theme 1: </td><td><input name="theme1" type="text" value=""></td></tr> <tr> <td>Theme 2: </td><td><input name="theme2" type="text" value=""></td> </tr> <tr> <td>Valider: </td><td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="78"><input type="radio" name="action2" value="add"> Ajouter</td> <td width="91"><input type="radio" name="action2" value="edit"> Modifier</td> <td width="95"><input type="radio" name="action2" value="delete"> Supprimer</td> <td width="36"><input name="azerty" type="button" id="submit" value="OK"></td> </tr> </table> </td> </tr> </table> </form>
Partager