I have a named HTML anchor tag that works like a bookmark. This tag is defined as:
<a name="myLocation"></a>
I need to go to this link using JavaScript. How to navigate to a location on my HTML page using JavaScript?
Thank!
Try:
window.location = window.location + "#myLocation";
Hope this helps.
Source: https://habr.com/ru/post/1732756/More articles:Accessing Class Based Fields in a Graph - grailsITunes Reporting Tool for iPhone - iphoneWhat is the difference between Nhibernate and SubSonic? - c #Using domready for AJAX calls - javascriptSamsung phones and Notification.FLAG_INSISTENT error? - androidcount with has_many in rails - ruby-on-railsPhp gettext does not display translated text (after generating .pot and .mo files using poEdit) - phpPython equivalent of C code from Twiddling Hacks bit? - cembedded form for a unique resource - ruby ββ| fooobar.comPHP equivalent of C code from bit-wandering hacks? - phpAll Articles