hi all,
ich versuche verweifelt ein normales formular zu erstellen, das per ENTER vershcickt wird.
es klappt jedoch nur wenn ich es vom typ="submit" mache.
beim typ="button" wird nur durch klicken auf den button was gemacht.
<form name="googlemaps" action="">
<input type="text" name="ziel" style="width:160px; border-style:dashed; border-width:0px; background:#bbbbbb">
<input type="button" value="Suche" onclick="showmap(this.form.ziel.value)" style="border-style:dashed; border-width:0px">
</form>
function showmap(destination)
{
newtab("http://maps.google.de/?q="+destination+"");
}
Gibt es da eine einfache Lösung ?
Danke schonmal !
Grüße
kointa