Jump to content

Parameter Passing to a Page with an Anchor Tag?


vozzek

Recommended Posts

Hi all,

 

Simple question:  can I pass a parameter to a page with a location anchor tag?  For example...

 

page1.php#birds  -  takes the user to page1.php at the anchor tag named 'birds'.  Works fine.

 

page1.php?userid=1001  -  takes the user to page1.php and passes a parameter called 'userid' with a value of 1001.  Works fine.

 

page1.php#birds?userid=1001  -  SHOULD take the user to page1.php at the anchor named 'birds' and bring the userid parameter over with a value of 1001.  DOESN'T WORK.  It loads the page and passes the parameter, but the page is loaded at the top, and not at the 'birds' anchor location.

 

Any way to do this?  Thanks in advance for the help.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.