Why $('#id').val() not working while document.getElementById('id').value works perfect?
<p><code>$('#id').val() = $.cookie("name");</code> - not works, nothing changes</p>

<p><code>document.getElementById('id').value = $.cookie("name");</code> - works fine</p>

<p>Why?</p>
