March 31, 201016 yr Hey i was wondering is there anyway to do the same in javascript that anchors do in html like when u click a link it skips to a certain part of ur html page if so any examples is appriciated thanks in advance
March 31, 201016 yr <input type="button" value="Go to Hash" onClick="window.location.hash = '#hash';" /> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> asdasdsa <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> asdasdsa <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> asdasdsa <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> asdasdsa <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <a name="hash">Hash</a> asdasdsa
Create an account or sign in to comment