我已经制作了jQuery Autocomplete。它也显示了这些建议。我现在希望该建议在鼠标悬停在其上时显示子建议。如何??
答案 0 :(得分:0)
在输入字段中使用autocomplete="off"
。
答案 1 :(得分:0)
只需打开终端,输入
$jwt = getBearerToken();
try {
$decoded = JWT::decode($jwt, $key, array('HS256'));
$refresh_token=$decoded->data->refresh_token;
}
catch (Exception $e){
if($e->getMessage() == "Expired token"){
list($header, $payload, $signature) = explode(".", $jwt);
$payload = json_decode(base64_decode($payload));
$refresh_token = $payload->data->refresh_token;
} else {
// set response code
http_response_code(401);
// show error message
echo json_encode(array(
"message" => "Access denied.",
"error" => $e->getMessage()
));
die();
}
}
按Enter键即可完成。