Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the content of another site

Status
Not open for further replies.

esmaeil

Instructor
Aug 23, 2018
1
IR
Hello

I am beginner in Javascript.
I have the address of site. I want to give the address to the code and it brings me the content of the that address.
I will appreciate if you help me.
Thanks
 
Code:
<html>
<head>
<title>OnClick example</title>
</head>
<body>
<form>
<input type=button onClick="location.href='[URL unfurl="true"]http://www.ratemypoo.com'"[/URL] value='click here'>
</form>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top