[TYPO3] From Option to input
Peter Klein
peter at umloud.dk
Sun Apr 2 18:36:38 CEST 2006
Try
<input type="button" ....
Or add a 'return false;' at the end of the onchange call.
--
Peter Klein / Umloud Untd
"Tapio Markula" <tapio.markula at dnainternet.net> wrote in message
news:mailman.1.1143993659.26730.typo3-english at lists.netfielders.de...
> Hi
>
> I tried to change
> <select name="SET[function]"
> onchange="jumpToUrl('db_layout.php?&id=551&SET[function]='+this.options[this.selectedIndex].value,this);">
> <option value="1" selected="selected">Columns</option>
> <option value="0">QuickEdit</option>
> <option value="2">Languages</option>
> <option value="3">Page information</option>
> </select>
>
> using INPUT submit
> <input type="submit"
> onclick="jumpToUrl('db_layout.php?&id=551&SET[function]=1');"
> name="SET[function]" value="Columns">
> <input type="submit"
> onclick="jumpToUrl('db_layout.php?&id=551&SET[function]=0');"
> name="SET[function]" value="QuickEdit">
> <input type="submit"
> onclick="jumpToUrl('db_layout.php?&id=551&SET[function]=2');"
> name="SET[function]" value="Languages">
> <input type="submit"
> onclick="jumpToUrl('db_layout.php?&id=551&SET[function]=3');"
> name="SET[function]" value="Page information">
>
> Doesn't work - what's wrong?
More information about the TYPO3-english
mailing list