Hi, I have the following function, I noticed the first time I pass a
different index, the $.get will generate a request to the server,
however if the function is being called with the same index again,
there is no request being sent to the server. This strange problem
happened only in IE (I am using version 6), but the codes work
perfectly on Firefox. Each call to showComments(index) on firefox will
generate a request no matter what values passed in as index.

function showComments(index)
{
        $.get("comments.html", {method: "show", index: index},
                function(data){
                        ...
                });
}

Can anyone spot any problem with this? Thanks.

Reply via email to