Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get anchor

var url = "www.aaa.com/task1/1.3.html#a_1";
var hash = url.substring(url.indexOf("#")+1);
 
PREVIOUS NEXT
Tagged: #js #anchor
ADD COMMENT
Topic
Name
4+5 =