Answers for "how to get data from html page using javascript"

0

how to get data from html page using javascript

<p id="par">hi</p>
<!--put script in head tag-->
<script type="text/javascript">
	document.getElementById('par')//then whatever u want to do with it like window.location or something//
</script>
Posted by: Guest on June-23-2021

Code answers related to "how to get data from html page using javascript"

Browse Popular Code Answers by Language