I am trying to auto-scroll to div using:
/index.php#tabletabs2?contact_added=1
when I use:
/index.php#tabletabs2
it works. How can I have both a variable and the auto-scroll working in my URL???
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The query part of the URL needs to be before the
#. Browsers only send the part before the#to the server. The part after is for auto-scrolling to elements via theiridornameattribute, e.g.See also the “Syntax” section of Wikipedia’s “Universal Resource Locator” article. Especially the description of fragment identifiers.