Why is it not displaying
- by Doug
My fieldset doesn't display onclick, what am I doing wrong?
$(document).ready(function(){
$('#More').toggle(
function() { $('#search', this).slideDown(); },
function() { $('#search', this).slideUp(); });
});
<div> Item 1 <a href="#" id="More">Item 2</a> Item 3
<fieldset id="search" style="display: none;">
<form>
<input type="text">
</form>
</fieldset>
</div>