jquery show/hide div
<p>This basic function does not work. Why?</p>

<pre><code>$(document).ready(function(){
    $('#megegyezik').change(function(){
        if($(this).attr('checked')==true)
            $('#szamlazasi_cim').show();else
                $('#szamlazasi_cim').hide();                    
    }); 
});
</code></pre>

<p>How can I insert the full HTML code?</p>

<p>this was the problem:
I placed a <strong>div</strong> inside a table. After I raplaced it to <strong>table</strong> it worked fine.</p>

<p>Thanks for the help!</p>
