JQuery checkbox state not working
<p>can anyone tell me why this line isnt working? (i'm trying to access the value property of a checkbox and write it into my variable or otherwise if its not checked an empty string)</p>

<pre><code>var ri_ort = $('#ri_ort').attr('checked')?$('#ri_ort').val():'';
</code></pre>

<p>Thx a lot</p>
