[UPHPU] Javascript question

Wade Preston Shearer wadeshearer.lists at me.com
Fri Jul 10 16:22:14 MDT 2009


On 9 Jul 2009, at 11:45, Scott Hill wrote:

> If I have a select with several options, one of which is "selected",  
> how do
> I de-select the original selected option and set a different option as
> selected using javascript?  Is it possible?  I have successfully set  
> the
> values of inputs before but never this.

If you're using jQuery (which you should be), you can currently  
selected option in a select list like this:

http://anavidesign.com/temp/select.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090710/fece7d66/smime.bin


More information about the UPHPU mailing list