Forums
This topic is locked
dynamic list item to be selected
Posted 28 Nov 2001 21:29:46
1
has voted
28 Nov 2001 21:29:46 Val Dubuis posted:
Can not figure out how to make certain item appear to be selected in dynamic list/checkbox/yet worse - radio button ??? Yes, I clicked on "Select Value Equal To: " button with blizzard ad I selected the appropriate item from recordset. But what happens in the browser - the label for the above item is just added at the bottom of the drop-down list, however the actual item remains unselected.
Source code of the resulting page:
<select name="height">
<option value="175">5' 9" - 175 cm </option>
<option value="178">5' 10" - 178 cm </option>
<option value="180">5' 11" - 180 cm </option>
<option value="183">6' 0" - 183 cm </option>
<option value="178" SELECTED>5' 10" - 178 cm</option>
</select>
Is there a way to fix this?
Thanks in advance!
Val
Replies
Replied 01 Dec 2001 15:24:55
01 Dec 2001 15:24:55 Joel Martinez replied:
Hmm, I just copied that html into an htm file, and viewed it in a browser... it came up with that record selected.
What browser are you using?
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
What browser are you using?
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
Replied 02 Dec 2001 05:38:51
02 Dec 2001 05:38:51 Val Dubuis replied:
I am using Explorer 5.0.
I hope I am clear:
<select name="height">
<option value="175">5' 9" - 175 cm </option>
"I want this to be selected:"
<option value="178">5' 10" - 178 cm </option>
<option value="180">5' 11" - 180 cm </option>
<option value="183">6' 0" - 183 cm </option>
"Not this:"
<option value="178" SELECTED>5' 10" - 178 cm</option>
</select>
Thanks Valentina
I hope I am clear:
<select name="height">
<option value="175">5' 9" - 175 cm </option>
"I want this to be selected:"
<option value="178">5' 10" - 178 cm </option>
<option value="180">5' 11" - 180 cm </option>
<option value="183">6' 0" - 183 cm </option>
"Not this:"
<option value="178" SELECTED>5' 10" - 178 cm</option>
</select>
Thanks Valentina