I have a question. I build a script thats load other pages with script. But is my first time.
I have a html list with url's
<ul class="siblings-list"> <li>http://www.nunu.com/online-werkplek/probeer-de-demo</li> <li>http://www.nunu.com/online-werkplek/prijzen</li> </ul> I want load this url's in my site. I would like the URLs that are in the list. In my site loading. I want load the content in my site.
I make a script that get the url's and put the url's in a array. Like this:
$(document).ready(function() { var list = $('.siblings-list'); // remove the first list item $('li:first-child',list).remove(); var arr = $('.siblings-list li').map(function() { return $(this).text() }).get(); $('.main').load($(arr).get( 1 ), function() { }); }); But how can I now these pages load in me site? How can i load this pages url's in my site. The content of the url's must be load in the main div.
Thank you for helping
.main?