3 ms·
From http://www.w3.org/TR/html4/interact/scripts.html http://www.w3.org/TR/html4/interact/scripts.html <INPUT name="edit1" size="50"> <SCRIPT type="text/tc
by gioele 15y ago
From http://www.w3.org/TR/html4/interact/scripts.html http://www.w3.org/TR/html4/interact/scripts.html
<INPUT name="edit1" size="50">
<SCRIPT type="text/tcl">
proc edit1_changed {} {
if {[edit value] == abc} {
button1 enable 1
} else {
button1 enable 0
}
}
edit1 onChange edit1_changed
</SCRIPT>
We could have had a future where you could choose which language to use in client-side code. The "removal" of @type from HTML 5 strongly suggests that not everybody believes in that future.
Maybe initiatives like Dart and NaCL will create an humus that will make the use of other languages acceptable in HTML pages.