Theiling Online    Sitemap    Conlang Mailing List HQ    Attic   

Re: OT: TECH: JavaScript help

From:René Uittenbogaard <ruittenb@...>
Date:Tuesday, April 8, 2008, 12:57
For example:

<html>
<body>
<input type=checkbox id=baz
onClick="document.getElementById('foo').disabled = this.checked">
<p>
<select id=foo>
<option>moja</option>
<option>mbili</option>
<option>tatu</option>
</select>
</body>
</html>

2008/4/8, Benct Philip Jonsson <bpj@...>:
> I need help with some JavaScript. In a form I need to > disable a select list foo if a checkbox baz is checked. > > TIA, > > /BP >