There is a class
<div class="active"> текст </div How to extract text from it using js and write it to the url variable? I try this way, but it does not work. What am I doing wrong?
<script type="text/javascript"> window.onload = function First () { var url = document.getElementsByClass('active'); var ds = url; aaa.href = ds; } </script>
var ds = url? - Arnial