Also beide Varianten gehen nicht:
onclick="tesst('index.php?site=matches')"
onsubmit="tesst('index.php?site=matches')"
onclick="tesst('index.php?site=matches')"
onsubmit="tesst('index.php?site=matches')"
function tesst (test1)
{
window.location.href = test1;
}
...
<input onclick="tesst('index.php?site=matches');" class="button" type="submit" name="save" value="Speichern">
Kommentar