how do i recover a selected table when the page is loaded?

If the page needs to reload, append a query string parameter to the url before the page refreshes. You can then check to see if the query string parameter is set or not, and then use that to show/hide/set active whatever you want.

Example blade:

@if (Input::get('active_table') === 'analysis')
    <script> 
    $(function () {
        $('#analysisTable').show();   
    })
    </script>
@else
    <script> 
    $(function () {
        $('#dicomTable').show();   
    })
    </script>
@endif

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top