Javascript JQuery https post url? -


this code works internet explorer 11 but, not firefox,chrome, safari, opera! in ie response in xml/text but, in other browsers got error message [object object] ! if try change other script source, ie response return [object object] !

this cdn not work @ all:

<!--<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.11.0.min.js"></script> microsoft don't work ie 11!--> <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>  google not working no browsers -->      

how can code work webbrowsers?

this works in ie 11 but, not in firefox, chrome, safari, opera!

<script src="https://code.jquery.com/jquery-latest.min.js"          type="text/javascript"></script>   console.log($.isxmldoc(text));//viktig         $.ajax({            url: 'https://svenskaspel.se/xternal/xmlegnarader.asp',             processdata: false,            type: "post",  // type should post             data: text, // send string directly           // datatype: "text/plain",             success: function(response){              //alert(response);               var 1 = response.indexof("<url>");              var 2 = response.indexof("</url>");                var url = response.substring(one+5,two);              //alert(url);              window.open(url);              },            error: function(response) {               //alert(response);             }         }); 


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -