jquery - Maintain a stack for content of div tag -



jquery - Maintain a stack for content of div tag -

i working datatable. on row click, able open details page in same div of datatable using divname.load(@url.action('').

now want provide close button on details page , load previous info table div using jquery.

can done maintaining stack of div tags somehow? please help me out.

just idea

create different div time when load page. hide old 1 when load new page. while closing current 1 hide current , show 1 opened.

you can give id each div in sequence showing , hiding simpler.

like first div gets id div_0 , sec div id div_1 , on. when closing div having id div_1 know have show div_0

jquery asp.net asp.net-mvc-4 datatables

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -