SyntaxFix
Write A Post
Hire A Developer
Questions
var button = document.getElementById("<<button-id>>"); button.addEventListener("click", function() { window.location.href= "<<full-servlet-path>>" (eg. http://localhost:8086/xyz/servlet) });