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>