Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Grabbing Srop Down Menu Value in JS
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 31 July 2004 :  17:31:54  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I think I have the right syntax for grabbing the value of the drop down menu but I am getting a error. Does this look right?


	function gotoDate()
	{
		var myindex=AdminForm.Month.selectedindex
		alert(AdminForm.Month.options[myindex].value);
	}

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 August 2004 :  08:39:22  Show Profile
The I in selectedIndex should be a capital.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07