Jquery toggle should expand after Page reload

Jquery toggle should expand after Page reload

I am new to jQuery. I wrote below code for Collapse/Expand some sections. It is working fine. Finally If I click "Save" button and I am re-loading (refresh) page again( code in asp.net). So then sections are going default Colleapse again. I need them back to expand sections. I mean what ever user expanded should me expanded again after refresh page. How can I do that?
 
  1. $ ( function () {  
           $
    ( 'tr.subCategory' )  
               
    . css ( "cursor" , "pointer" )  
               
    . attr ( "title" , "Click to expand/collapse" )  
               
    . click ( function () {  
           $
    ( this ). siblings ( '.RegText' ). toggle ();  
               
    });  
               $
    ( 'tr[@class^=RegText]' ). hide (). children ( 'td' );  
       
    })
    Please I need code please