I try to show a content of url page( like https://www.google.fr ) in to <div>
using JQuery but without success. Something like this :
<div id="contUrl">
.. content of google.fr page
</div>
help please :)
You can load a site in a div using jQuery:
<div id="siteloader"></div>
<script>
$("#siteloader").html('<object data="http://google.fr" />');
</script>
Try iframe tag
<iframe src="https://www.w3schools.com">
</iframe>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.