View Full Version : how to get the field id from a dropdown list
07-10-2006, 12:56 AM
for example "red"
I want to get the fild_id number for this value "red" and post it , how I can do that ?
please if you can supply few code snippets it helps much
07-10-2006, 01:06 AM
So you want to know which location the option was at, like first, second, third?
07-10-2006, 11:38 AM
no I know about selectedindex
I have the following table :
I want to get the f_id value of the selected color, how I can do that ?
07-10-2006, 03:30 PM
document.f.s.value will return the value of whatever is selected.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.