JQuery issue by IE
<p>I get an error by following code:</p>

<pre><code>jQuery.post('/user/result/generate',{
            'id': getHidden()
        }, function(html) {
            $('#result').html(html);
        });
</code></pre>

<p>error: </p>

<pre><code>TypeError object doesn't support this property or method
</code></pre>

<p>this code works fine in FireFox, but not in IE.</p>

<p>How can I fix this?</p>

<p>p.s</p>

<p>the function getHidden() wil return a selected item id, it works very fine. I can see that this work! </p>

<p>I put alert() in this function... like this:</p>

<pre><code>jQuery.post('/user/result/generate',{
        'id': getHidden()
    }, function(html) {
        alert(html);
        $('#result').html(html);
    });

function getHidden(){
alert($("#selectId").val());
return $("#selectId").val();
</code></pre>

<p>}</p>

<p>and I get the selectId well! but not html, so this function stops by function(html), thus by the response!
I put try catch in this function, get error:
TypeError object doesn't support this property or method</p>

<p>but this function works fine after refresh the page by press F5.... so I do not understand why this function works not directly but after refresh...</p>
