function results() { var firstname = document.getElementById("firstname").value; var lastname = document.getElementById("lastname").value; var location = document.getElementById("location").value; document.getElementById('my-form').innerHTML = " Thank you "+ firstname +" for checking in."; document.getElementById('my-form').style.fontFamily = 'Manrope', sans-serif; document.getElementById('my-form').style.color = 'white' return false; }
Robert <script>alert('Boom!');</script>
innerHTML
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)