Current location: Hot Scripts Forums » General Web Coding » JavaScript » Passing values through pop-up menu


Passing values through pop-up menu

Reply
  #1 (permalink)  
Old 03-04-04, 08:58 AM
petrinjak petrinjak is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Passing values through pop-up menu

Ok...here is my issue. I have a web page that is using javascript to create a pop-up menu. Making a selection from the menu will send you to an ASP page and needs to send a value for 'click' which will then be evaluated by an if statement to determine which 'include file' will be used.

Here is the portion of the function that is supposed to pass the value:
("PAGE1","location='display.asp?click=one'");

I have already seen somewhere that you cannot use the question mark. The suggestion was to use the following instead:
("PAGE1","location='display.asp/click=one'");

Didn't work. Can any one offer some more advice?

Thanks,
Kevin
Reply With Quote
  #2 (permalink)  
Old 03-05-04, 10:36 AM
dcooldude_1's Avatar
dcooldude_1 dcooldude_1 is offline
Newbie Coder
 
Join Date: Feb 2004
Location: Sidney
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Can I see the script in action... That way I can better help you out.....
__________________
===================================
Dcooldude_1

Site 1: http://ih.sidneyps.com/hs/spokesman/
Site 2: http://www.webhex.net/

Go to http://www.chatzy.com/?132627185966 this is my chat area...
the password is: progtalk
===================================
Reply With Quote
  #3 (permalink)  
Old 03-09-04, 05:51 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
why couldn't you use the question mark?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Listbox values Addict JavaScript 2 01-22-04 04:52 PM
MySQL table problem perleo PHP 9 12-16-03 01:16 PM
passing values from one form to another -urgent aspuser25 ASP 1 09-19-03 06:41 PM
passing values aspuser25 ASP 2 09-06-03 07:26 AM
asp: values in array not in order?? seala ASP 0 08-16-03 12:06 PM


All times are GMT -5. The time now is 02:11 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.