<div id="regdiv"> Vor- und Nachname:<br> <input type="text" id="name"><br> Geburtsdatum:<br> <input type="date" id="birth"><br> <input onclick="pushreg()" type="submit" value="absenden"> </div> <script> function pushreg() { window.location = "?newpushregappmaker="+document.getElementById("name").value+";"+document.getElementById("birth").value; document.getElementById("regdiv").innerHTML="<b>Push Anmeldung wurde abgeschlossen!</b>"; } </script>