Rumah >hujung hadapan web >tutorial js >jquery等待效果示例_jquery
实现查询等待:正在查询中,请稍后...
jquery代码
/**
* @description * 显示查询等待层
* @param query_hint
*/
function show_query_hint(query_hint){
var query_hint = document.getElementById(query_hint);
query_hint.style.display="block";
}
/**
* @description 查询结果回调函数
* @param query_hint 要隐藏的提示层id
*/
function queryHintCallback(query_hint){
var query_hint = document.getElementById(query_hint);
query_hint.style.display="none";
}