Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

data-url html

<a id = "test" data-url="https://www.google.com/">
<script>
  var a = document.getelementbyid('test');
  var url = a.data('url');
  </script>
 
PREVIOUS NEXT
Tagged: #html
ADD COMMENT
Topic
Name
4+8 =