|
-
Nov 13th, 2004, 08:38 AM
#1
Thread Starter
New Member
Javascript: Form Menu Boxes
Hello,
I am trying to extract the selected value from a menu box on a form, so I can use the value in a function.
In my function, I am currently using:
function1 {
var1 = theform.select1.text
...
}
I am calling the function as follows:
<select name="select1" ... onchange = "function1(this)" >
but var1 is not filling with any values
Also I need to be able to extract a value from a radio button group.
If the group is called RadioGroup1 and there are a number of radio buttons in the group.
To get the value of the button selected would it be
RadioGroup1.value or some other syntax.
Any ideas would be appreciated .
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|