Nieuw lid |
|
Hoi, ik gebruik het volgende stukje form:
<INPUT type ="radio" name="page" value="delete.php" style="border-width: 0px" onclick="javascript:(document.getElementById('keuze').action = this.value); keuze.sub.value='Delete'; keuze.submit.src='icons/delete.png';">Verwijder de geselecteerde bestanden...<BR>
<INPUT type ="radio" name="page" value="download.php" style="border-width: 0px" onclick="javascript:(document.getElementById('keuze').action = this.value); keuze.sub.value='Download'; keuze.submit.src='icons/download.png';">Download de geselecteerde bestanden...<BR>
<INPUT type="submit" value="Maak uw keuze" style="width: 10em;" name="sub" class="submit">
<input type="image" src="icons/cancel.png" name="submit" value="">
<INPUT type ="radio" name="page" value="delete.php" style="border-width: 0px" onclick="javascript:(document.getElementById('keuze').action = this.value); keuze.sub.value='Delete'; keuze.submit.src='icons/delete.png';">Verwijder de geselecteerde bestanden...<BR> <INPUT type ="radio" name="page" value="download.php" style="border-width: 0px" onclick="javascript:(document.getElementById('keuze').action = this.value); keuze.sub.value='Download'; keuze.submit.src='icons/download.png';">Download de geselecteerde bestanden...<BR> <INPUT type="submit" value="Maak uw keuze" style="width: 10em;" name="sub" class="submit"> <input type="image" src="icons/cancel.png" name="submit" value="">
De submit knoptekst van "sub" word wel gewijzigt in Delete of Download, maar de input image veranderd niet
Weet iemand wat ik fout doe?
|