dsubq24666
dsubq24666
2012-07-07 07:18

页面重定向而不刷新

已采纳

I want redirection without refreshing the whole parent page. Is there any way through which I can perform this. I need the functionality like the site below

https://github.com/jquery/jquery

Like in the above site the listing of files are there under jQuery. When we click on any of the file it will redirect us to that file without page refresh.

Any help would be appreciated. Thanks.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongtiao2976 dongtiao2976 9年前

    Without knowing your exact requirements, I cant give you a proper answer in general, jQuery will be your best bet.

    Use jQuery.ajax (doc here http://api.jquery.com/jQuery.ajax/)

    This method allows you to query data asynchronously without page refresh and then do what you want to the result.

    If you give a exact description of your requirements, I could point to you a tutorial.

    点赞 评论 复制链接分享

相关推荐