Home > front end >  It is not possible to use the IOS simple HTML code
It is not possible to use the IOS simple HTML code

Time:04-08

Because the code to burn in the single chip microcomputer, as far as possible on the volume not more than 1024 kbyte,

Have more than one Button on the web, each Button send a string command to the server,

The following code in the Firefox for Win10 and Firefox for Android can be normal use, the server can receive a POST request and reply,
But why in the Firefox for IOS cannot normal use (including the iphone and the tablet), have not received the POST request, the server

 



T

<style type="text/CSS" & gt;
. The button
{
//...
}
</style>
<body>

//...


<script>
The function fnF (STR)
{
Var the req=new XMLHttpRequest ();
The req. Onreadystatechange=function ()
{
If (the req. ReadyState===4 & amp; & The req. Status===200)
{
Alert (" OK!" );
}
return;
};
The req. Open (" POST ", STR);
The req. The send ();
}
</script>


  • Related