The following code:

test = SELECT("1","2", value = "2")
test.attributes["value"] = "1"

still renders as:

<select>
<option value="1">1</option>
<option selected="selected" value="2">2</option>
</select>

I have no idea why . . .

Reply via email to