html - How to redirect multiple links into div on website using jquery? -
i have landing page lots of links individual html files on website domain. possible load these other html files within div on landing page?
meaning, instead of:
homepage.com link 1 > takes new page homepage.com/link1.html link 2 > takes page homepage.com/link2.html link 3 > takes other page homepage.com/link3.html
is there way this:
homepage.com [search box autocompleted selection takes links] ------ <div class='content'> html loaded here </div>
i can use jqueryui link autocomplete input field, can't figure out how link selected term load new page.
thanks
jquery's .load() looking for. can specify container element pull on page.
$('.content').load('homepage.com/link1.html #container');
Comments
Post a Comment