varobj,sid;//全局变量 $(document).ready(function(){ //看着DIV的样式(位置,高度,) varstock=$("#stock").css("border","1pxsolidblack") .width("150px").css("position","absolute") .css("z-index","99").css("background-color","blue") .css("color","yellow");//隐藏 stock.hide(); varvar_a=$("a");