I want to add another wesbite on my webpage.
<script>
$("#new-nav").load("https://google.com");
</script>
This is exactly what I would like to achieve. I would like to load another page using an url on my current page
<script>
$("#new-nav").load("http://localhost:8080/xyz/page");
</script>
but it's not working..
<div id="new-nav"></div>
How do I achieve this? I would like a jQuery solution.