i have one question about jQuery. If user select “Presmerovanie” with value “0” in html select with id “typ” i want to show div with id “pres” . Here is the code:
<dl>
<dt><label for="typ">Typ</label></dt>
<dd>
<select id="typ" size="1">
<option value="1">Normálna</option>
<option value="0">Presmerovanie</option>
</select>
</dd>
</dl>
<!-- Len ak je presmerovatelna -->
<div id="pres" style="display: none;">
<dl>
<dt><label for="presmerovat">Presmerovat na</label></dt>
<dd>
<select id="presmerovat" size="1">
<option>Category 1</option>
<option>Category 2</option>
</select>
</dd>
</dl>
</div>
<!-- Koniec ak je presmerovatelna -->
is it possible?
demo