Solved

jQuery find GET parameter

Posted on 2011-03-01
2
580 Views
Last Modified: 2012-05-11
Hi,

I'm trying to determine in jQuery if I have a value in $_GET['prod_id'] from a page like:

product-scores.php?status=doc&prod_id=20

and if so then do the following code.

In other words, as in pseudo code:
if ( $_GET['prod_id'] != '') {....}

Open in new window


Thanks,
Victor
0
Comment
Question by:Victor Kimura
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 35008938
0
 

Author Closing Comment

by:Victor Kimura
ID: 35009559
Thanks.=)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't get js code to execute 8 32
Making Table Thru ASP Response.write 5 21
modify change color of text 9 38
Slush on text 2 12
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question