Which function is used to accept the returned value has an API. you need to use form pos to get the returned data to an address. & Lt; form & nbsp; actiondnsapi. cnRecord. list & nbsp; methodpost & gt; & lt; input & nbsp; typetext & nbsp; value logon email address & nbsp; what function does name use to accept returned values?
There is an API that requires a form pos to an address and then obtains the returned data.
After clicking submit, I will link to the above API address. how can I directly display the value returned by the API address on this page? thank you.
------ Solution ----------------------
You can use jquery's ajax function to implement, the document in this is the http://api.jquery.com/jQuery.ajax/
------ Solution ----------------------
$. Ajax ({
Type: "POST ",
Url: "https://dnsapi.cn/Record.List ",
Data: $ ("# formid"). serialize (),
Success: function (data ){
Alert (data );
}
});