How do i click on a link that loads a html page and then using ajax (without clicking anything) load an external html page?
Hi i want to click on a button that loads a different html page and then i want to automatically load via ajax an external html page. How do i do that? Thanks
UPDATE
{ //link icon to correspoding link on what we do $('#websites').click(function() { $('#loading_content').hide().load('what-we-do/istoselides.html').fadeIn(1000) return false; }); }
That doesnt work cause of the return false. But it doesnt work 开发者_如何学Goneither when i take it away! Any ideas?? Thanks a bunch!
You can use .load()
for this.
精彩评论