0
<a href="##webinar" onclick="location.reload();">goTOWebinarTab</a> 

I'm using the code to go to the respective tab in the same page(angular tabs), and it is working fine only with the page reload is there a way I can do it without reloading the page.

actual URL=/adv/about/research/
target URL=/adv/about/research/##webinar

Sangwin Gawande
  • 7,658
  • 8
  • 48
  • 66
  • Possible duplicate of [Can you change a path without reloading the controller in AngularJS?](https://stackoverflow.com/questions/14974271/can-you-change-a-path-without-reloading-the-controller-in-angularjs) – Mika Sundland Nov 11 '17 at 01:59

1 Answers1

1

Remove onclick="location.reload();"

and use href only

<a href="##webinar" >goTOWebinarTab</a> 

because The reload() method is used to reload the current document.

Jayanti Lal
  • 1,175
  • 6
  • 18
  • Yes, but the href location(same page different tab) is working only with the reload. i'm looking something like without reload of page – Ashok.A Oct 27 '17 at 16:05