Badman3k
11-04-2005, 03:22 PM
I've been using a form which lists a load of items which can be checked. I want to be able to check multiple items and then click one of two inputs (with type = image) to submit the form with the items checked.
For some reason Opera and IE don't seem to work. They just appear to refresh the page, without any submission. FF on the other hand, takes the info and processes it.
The page is created dynamically, but this is the html that's printed. If anyone can shed some light on it, I’d be very grateful:
<form method="post" action="index.php" name="events">
<input type="hidden" name="sCat" value="administration" />
<input type="hidden" name="sAction" value="events" />
<table width="100%" cellspacing="0" class="border">
<tr>
<th width="1%"><input type="checkbox" name="checkAll" value="all" onClick="negateChoice(events)"></th>
<th class="left">Titel</th>
<!--<th class="left">Beschreibung</th>-->
<th>Ort</th>
<th>Datum</th>
<th>Zeit</th>
<th>Veröffentlicht</th>
<th> </th>
</tr><tr class="white">
<td class="center"><input type="checkbox" name="iEventsId[]" value=""></td>
<td><a href="index.php?sCat=administration&sAction=events&sSub=details&iId=">Test Title</a></td>
<td class="center">The Crags</td>
<td class="center">TBA</td>
<td class="center">18:50</td>
<td class="center"><img src="../templates/admin/img/tick.png" alt="tick" /></td>
<td> </td>
</tr><tr class="white">
<td class="center"><input type="checkbox" name="iEventsId[]" value=""></td>
<td><a href="index.php?sCat=administration&sAction=events&sSub=details&iId=">To add or not to add</a></td>
<td class="center">That is the question....</td>
<td class="center">01.01.2007</td>
<td class="center">TBA</td>
<td class="center"><img src="../templates/admin/img/cross.png" alt="cross" /></td>
<td> </td>
</tr>
</table>
<img src="../templates/admin/img/arrow_selected.gif" /> <span class="italic">ausgewählte:</span> <input type="image" src="../templates/admin/img/file_delete.gif" name="sSub" value="del" /> <input type="image" src="../templates/admin/img/file_edit.gif" name="sSub" value="edit" />
</form>
Many thanks in advance,
For some reason Opera and IE don't seem to work. They just appear to refresh the page, without any submission. FF on the other hand, takes the info and processes it.
The page is created dynamically, but this is the html that's printed. If anyone can shed some light on it, I’d be very grateful:
<form method="post" action="index.php" name="events">
<input type="hidden" name="sCat" value="administration" />
<input type="hidden" name="sAction" value="events" />
<table width="100%" cellspacing="0" class="border">
<tr>
<th width="1%"><input type="checkbox" name="checkAll" value="all" onClick="negateChoice(events)"></th>
<th class="left">Titel</th>
<!--<th class="left">Beschreibung</th>-->
<th>Ort</th>
<th>Datum</th>
<th>Zeit</th>
<th>Veröffentlicht</th>
<th> </th>
</tr><tr class="white">
<td class="center"><input type="checkbox" name="iEventsId[]" value=""></td>
<td><a href="index.php?sCat=administration&sAction=events&sSub=details&iId=">Test Title</a></td>
<td class="center">The Crags</td>
<td class="center">TBA</td>
<td class="center">18:50</td>
<td class="center"><img src="../templates/admin/img/tick.png" alt="tick" /></td>
<td> </td>
</tr><tr class="white">
<td class="center"><input type="checkbox" name="iEventsId[]" value=""></td>
<td><a href="index.php?sCat=administration&sAction=events&sSub=details&iId=">To add or not to add</a></td>
<td class="center">That is the question....</td>
<td class="center">01.01.2007</td>
<td class="center">TBA</td>
<td class="center"><img src="../templates/admin/img/cross.png" alt="cross" /></td>
<td> </td>
</tr>
</table>
<img src="../templates/admin/img/arrow_selected.gif" /> <span class="italic">ausgewählte:</span> <input type="image" src="../templates/admin/img/file_delete.gif" name="sSub" value="del" /> <input type="image" src="../templates/admin/img/file_edit.gif" name="sSub" value="edit" />
</form>
Many thanks in advance,