Output Label instead of Value
The code that I am working on is here: http://www.payitforwardfriends.com/converter.html
I'm trying to make it so that in the output when you convert from one substance to another it says what you are converting from (as in it says 1 cup of flour).
The problem is "substance" is for the value, and not for the label. How do I make the label show up instead?
Currently, it's coming up as [object HTMLSelectElement].
Thanks so much!
Same way it is done for the other <select>s.
Look at them:
That works. Thanks!
|All times are GMT +1. The time now is 08:45 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.