Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-18-2007, 06:59 PM   PM User | #1
esthera
Senior Coder

 
Join Date: May 2004
Posts: 1,430
Thanks: 14
Thanked 0 Times in 0 Posts
esthera can only hope to improve
retrieving values of a checkbos

i have a form with a checkbox called productids
for example

<input type="checkbox" name="productids" value"1">

<input type="checkbox" name="productids" value"2">

<input type="checkbox" name="productids" value"3">

<input type="checkbox" name="productids" value"4">

<input type="checkbox" name="productids" value"5">

now it's very strange when i do
productids=request("productids") then if i have say 3 & 4 selected
in ie it shows me the resluts as on,on instead of 3,4
and in firefox ,
why?
what am i doing wrong?
esthera is offline   Reply With Quote
Old 11-19-2007, 11:10 AM   PM User | #2
Spudhead
Senior Coder

 
Spudhead's Avatar
 
Join Date: Jun 2002
Location: London, UK
Posts: 1,856
Thanks: 8
Thanked 110 Times in 109 Posts
Spudhead is on a distinguished road
You've got a typo:

value"5"

should be

value="5"
Spudhead is offline   Reply With Quote
Old 11-19-2007, 11:22 AM   PM User | #3
shakir
Regular Coder

 
Join Date: Nov 2007
Posts: 110
Thanks: 0
Thanked 1 Time in 1 Post
shakir has a little shameless behaviour in the past
server request will return only on/off or trye false it will not return the value u gave
shakir is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:16 PM.


Advertisement
Log in to turn off these ads.