I am using the following code to cause events based upon button clicks. When I click the button,the page reloads but no change occurs in the map
form action="#" onsubmit="animate(); return false" p inputtype="submit"value="Zoom!" / /p /form function animate() { map.setZoom(10); }
Can anyone help me out with this? Thank you
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)