Is there a python library which is analogous to javascript for creating
html/xhtml documents? e.g.:
hidden = document.createElement("input")
hidden.setAttribute("type", "hidden")
hidden.setAttribute("name", "active_flag_hidden_" + ctl)
if( dirtyArray[ctl].checked == true) {
hidden.setAttribute("value", 'N')
} else {
hidden.setAttribute("value", 'Y')
}
document.forms['listForm'].appendChild(hidden)
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com