Home > front end >  Display box does not display the data returned, bosses support, genuflect is begged under this code
Display box does not display the data returned, bosses support, genuflect is begged under this code

Time:09-17

Separate open API can see return data, put in there is no shows, thinking about all morning, fast cry, seek help from a great god!


<body>
<script>
Var but=document. GetElementById (' but2 ');
But the onclick=function () {
Var text1=document. GetElementById (' text1). The value;
If (text1) {
Var url="http://dev.wanzhongma.com/open/api/getPhone? Token=94 d1ff0ca8 & amp; Json=2 ';
Var iframe=document. GetElementsByTagName (' iframe) [0];
Iframe. SetAttribute (' SRC 'url);
} else {
Alert (" please enter the content ');
}
};
</script>
<iframe SRC="width=" 70% "height=" 166 "frameborder=" 1 "scrolling=" yes "& gt; </iframe>

CodePudding user response:

, support genuflect is begged!

CodePudding user response:

Cross-domain, try the other

CodePudding user response:

refer to the second floor qq_45713941 response:
cross-domain, try the other
I won't

CodePudding user response:

http://dev.wanzhongma.com/open/api/getPhone? Token=94 d1ff0ca8 & amp; Json=2 this url is a third party or your own?

CodePudding user response:

reference 4 floor jio can reply:
http://dev.wanzhongma.com/open/api/getPhone? Token=94 d1ff0ca8 & amp; Json=2 this url is a third party or your own?
the third party

CodePudding user response:

That can't do

CodePudding user response:

The solution? , ajax or axios, can go to website
  • Related