Back and Forward Navigation does not retain data In Firefox/chrome Browsers, but works fine in Safari
<p>The scenario is, I have 2 tabs in application,
1. Patient List Tab
2. Patient Search Tab</p>

<p>After login to application by default first tab that is Patient list tab that will be selected,When I select 2 tab, Patient Search tab and search for a patient, I see a list of patient with a vertical scroller.
If I select a patient the application takes me to next page. When I navigate back I come back to same Patient search tab, retaining the same data and scroller position in Safari Browser. </p>

<p>If I do the same action on Firefox or chrome, if I navigate back I come back to default tab that is first Patient List Tab.</p>

<p>I use below function to navigate</p>

<pre><code>function detailsBack() {
  var backBtn = document.getElementById("backBtn");
  if (backBtn.innerHTML == i18n.PTLST) {
    javascript:history.go(-1);
  }
} 
</code></pre>

<p>Not sure about the issue. Kindly have a look and share your thoughts</p>

<p>Thanks
Deepak </p>
