19
rated 0 times
[
24]
[
5]
/ answers: 1 / hits: 15297
/ 13 Years ago, fri, november 18, 2011, 12:00:00
I want to navigate to an HTML element having a particular 'id' in the same page using javascript on click of a button.
for example:
<body>
<div id=navigateHere >
</div>
<button onclicK=navigate(); />
In the above code what should be there in the javascript function navigate() , so that on a click of a button , it will navigate to the 'div' element with an id 'navigateHere'.....
Thanks in advance ...
More From » html