When using jQuery BBQ they are using the words “querystring” and “fragment”.
What is the difference btween the two?
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.
In the definition of a URL (see e.g. here):
The
#section_2part is also called “the fragment”. Its interpretation is up to the user agent (AKA client AKA browser), though the universal convention is that it’s the anchor of an<a>tag to which the browser is asked to position itself.The Query String, as explained here, is the part of the URL that’s passed to the server-side program — normally after a
?and up to but excluding the#if any. So, in:the query string would be
query_stringand the fragment would bethefrag.