Hey Evertbody...
I have a function that gets passed several values. One of these values is related to an option value on a <select>. Based on the passed value, I would like to set the "selected" option of the <select> box. Is there a way to do this using javascript? I read thread216-556071 which tells you how to do this using the selectedindex, but I would like to do this using the value instead. Is this even possible?
Thanks in advance,
mwa
I have a function that gets passed several values. One of these values is related to an option value on a <select>. Based on the passed value, I would like to set the "selected" option of the <select> box. Is there a way to do this using javascript? I read thread216-556071 which tells you how to do this using the selectedindex, but I would like to do this using the value instead. Is this even possible?
Thanks in advance,
mwa