-3

I have to sites, but i need when i click on a href(where is url to another site with #idexample) and after redirect to currect page will find that id and click on it automaticly (next a but no href this time). More info in image : enter image description here

1 Answers1

0

Add a param to that URL, for example:

http://www.myurl.com?param=foo

And then in the site read that param to do a different behavior, like explained here: Get url parameter jquery Or How to Get Query String Values In js

Ignacio Ara
  • 2,476
  • 2
  • 26
  • 37