php forum
php mysql forum
php mysql smarty
 
Topic Options
#107961 - 02/26/01 12:54 PM Cookies, Forms and Netscape Oh My!!
Digital Boy Offline
Member

Registered: 05/30/00
Posts: 1871
Loc: Philadelphia
UBBDEV Community:

I have a form (ratingsForm) that contains a group of radio buttons (ratingsGroup) of which I want to store the value of in a variable. I assume that the following syntax is correct:

Code:
code:


However, whenever I try and run this, I always get the following from the javascript debugger window (in NS):

Code:
code:


Um ... anyone have any suggestions?


- DB

[ February 26, 2001: Message edited by: Digital Boy ]
_________________________
Matt Torbin
Web and Graphic Arts Engineer
Max Levy Autograph, Inc.
http://www.maxlevy.com/

Top
#107962 - 02/26/01 10:36 PM Re: Cookies, Forms and Netscape Oh My!!
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Give us the complete HTML....
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#107963 - 02/27/01 07:04 AM Re: Cookies, Forms and Netscape Oh My!!
Digital Boy Offline
Member

Registered: 05/30/00
Posts: 1871
Loc: Philadelphia
Charles,

Thanks, I just solved it last night. The problem is that in javascript, as I'm sure you're aware (yet I wasn't,) the radio button is considered an array. So to reference one of the radio buttons, I'd have to do something like this:

Code:
code:


That would get me the value of the first radio button in the group. Thanks for the quick response though.

- DB
_________________________
Matt Torbin
Web and Graphic Arts Engineer
Max Levy Autograph, Inc.
http://www.maxlevy.com/

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks