Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] <select>


  • From: iztok.polanic at amis.net (Iztok Polanic)
  • Subject: [Javascript] <select>
  • Date: Tue Aug 23 13:38:10 2005

Hi!

I'm trying to retrieve text of a <select> tag. If I use .value method, I 
get the value that is written inside <option> tag, but I need the text. 
For better illustration I'm providing below an example:

<select>
<option value="1">somethhing</option>
</select>

How to retrieve 'somethhing' with JS?
Tnx.

-- 
Bye,

Iztok
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3190 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.LaTech.edu/pipermail/javascript/attachments/20050823/995db982/smime.bin