Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
 
PREVIOUS NEXT
Tagged: #data #html #page #javascript
ADD COMMENT
Topic
Name
8+9 =