开发者

How do i click on a link that loads a html page and then using ajax (without clicking anything) load an external html page?

开发者 https://www.devze.com 2023-02-06 11:27 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号