Answers for "data-url html"

0

data-url html

<a id = "test" data-url="https://www.google.com/">
<script>
  var a = document.getelementbyid('test');
  var url = a.data('url');
  </script>
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language