[Twisted-web] LivePage client.set()

Dave Cook daverz at gmail.com
Sun Mar 20 18:24:29 MST 2005


I'd like to set the <option>s in on <select> based on user input from
another (using Nevow 0.3).  I tried something like

client.set("mySelect", [tags.option[optionText] for optionText  in
myListOfStrings])

in my handler.  This works great for Safari, but Firefox seems to
ignore the <option> tags and just inserts text into the DOM at that
point.  *Should* the above work generally, or was I just lucky with
Safari?

Thanks,
Dave Cook



More information about the Twisted-web mailing list