Can I keep on same jQuery tab on page refresh or when I have navigated away from the page?

前端 未结 3 1406
情话喂你
情话喂你 2020-12-07 00:00

I have a basic jQuery tabs system going:

$(document).ready(function(){
  $(\'#tabs div.jdiv\').hide();
  $(\'#tabs div.jdiv:first\').fadeIn(\"slow\");
  $(\'         


        
3条回答
  •  旧时难觅i
    2020-12-07 00:20

    Not easily. The client side script is reloaded when you refresh the page, and all changes will be undone, unless of course you store it somewhere — possibly as a URL parameter?

提交回复
热议问题