Problem In IE 9

May 14, 2012 at 8:01 PM
Edited May 14, 2012 at 8:04 PM

Hello guys,

I am working with soapclient v2.4, but I have a problem in IE 9. It works in other browsers properly.

I want to invoke a webservice several times to get search results.

At the first time, it works properly, but in the second request it doesn't work.

 

what's the problem?

 

it is my code:

 

        function SearchNetwork() {

            var url = document.location.href.replace("Mapsbeta/Beta.aspx", "Services/NetworkSearch.asmx");
            var BoundingParameter = new SOAPClientParameters();
            BoundingParameter.add("prefixText", document.getElementById('filter').value);
            SOAPClient.invoke(url, "GetCompletionList", BoundingParameter, true, GetNetworkResult_callBack);
            
        }


        function GetNetworkResult_callBack(r) {

            alert(r);

        }
 
       $("#filter").keydown(function (event) {
            var keycode = (event.keyCode ? event.keyCode : event.which);
            if (keycode == 13) {
                event.preventDefault();
                SearchNetwork();
            }
        });



May 14, 2012 at 8:14 PM

I have just found the solution in 2 post ago.

Thanks chookhen60