Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4617208
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:05:32+00:00 2026-05-22T02:05:32+00:00

I found one library, jQuery URL Parser , which seems to be full-featured as

  • 0

I found one library, jQuery URL Parser, which seems to be full-featured as far as parsing out the various segments of a URL. I’m trying to go one step further though, and parse the values of the query parameters.

For example, given the URL "http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=rm+-rf+%2F" I’d like to get "rm -rf /" for the q parameter. Any suggestions would be greatly appreciated.

As a side note, I’m not operating on the URL of the current page so any location magic doesn’t apply.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:05:32+00:00Added an answer on May 22, 2026 at 2:05 am

    It looks as though the library you referenced can indeed retrieve query string values as given under the section called Query string parameters:

    The .param() method is used to return
    the values of querystring parameters.

    Pass in a string to access that
    parameter’s value:

    $.url('http://allmarkedup.com?sky=blue&grass=green').param('sky');
    // returns 'blue' If no argument is
    passed in it will return an object
    literal containing a key:value map of
    all the querystring parameters.

    $.url('http://allmarkedup.com?sky=blue&grass=green').param();
    // returns { 'sky':'blue',
    'grass':'green' } Note that the
    .param() method will work on both
    ampersand-split and semicolon-split
    querystrings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found one source which successfully overrode Time.strftime like this: class Time alias :old_strftime
I found one example in which buttons are added to panels (instances of JPanel
I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in
Which is the arccos method in c#? I found one acos but i am
i've found one cheat sheet for doctrine: cheat sheet but it doesn't list all
I usually type my map declarations but was doing some maint and found one
I have Ubuntu Linux. I found one command will let me download unread message
what is the proper way to scale an SDL Surface? I found one explanation
I found this one, in the Find box (as Search criteria) of the document
I found only one attempt to create such compiler - http://sourceforge.net/projects/xsltc/ . But this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.