English 中文(简体)
Jquery Ajax or Get doesn t work on SOME IE
原标题:
<script type="text/javascript">
        $(document).ready(function(){

            function listadepoimentos(page){
                //  $.get("ajaxes.php", {act: listadepoimentos , page:page}, function a(b){$( #holder ).html(b)}, "text");
                $.ajax({
                    type:  GET ,
                    url:  ajaxes.php ,
                    data: {act: listadepoimentos , page:page},
                    success: function(data){
                            //alert(data);
                            $( #holder ).html(data);
                    },
                    error: function(xhr, type, exception){
                            alert("Error: " + type);
                    }
                });
            }

            listadepoimentos(0);

        });


    </script>

It works fine on all browsers but SOME ie8. Yes, SOME. I ve tried various ie8 browsers and in some of these it works, some not.

Is there a reasonable answer?

最佳回答

Well,well... after almost about 3 weeks of ie terror we finally found the solution. Our bugged users reset their ie8 prefereces to default. And... voi a la it simple start to work!!!!!!!!!!! Don t ask me why, or which setting is the responsabile for this bug.

I was using $.get all over the site. So the $.ajax solution is about to be abandonned. Reseting the ie8 defaults makes $.get start to work properly.

问题回答

暂无回答




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签