1, $("- sharpaddinfo"). Hide ();
addinfo hide ()
or show ()
;
2,
if (($("-sharpaddinfo").css("display")) === "none") {
alert("");
$(el).css({
"width":360,
"position":"fixed",
"left":"50%",
"top":"50%",
"z-index":9999
}).css({
"margin-left":-parseFloat($(el).outerWidth())/2,
"margin-top":-parseFloat($(el).outerHeight())/2,
"display":"none"
});
} else {
$(el).css({
"width":780,
"position":"fixed",
"left":"50%",
"top":"60%",
"z-index":9999
}).css({
"margin-left":-parseFloat($(el).outerWidth())/2,
"margin-top":-parseFloat($(el).outerHeight())/2,
"display":"none"
});
}
3
$(document).on("click","-sharpordinaryuser",function () {
/* $("-sharpaddinfo").hide();*/
$("-sharpaddinfo").css({"display":"none"});
$("-sharpisstudent").val(0);
$("-sharpordinaryuser").hide();
$("-sharpstudentuser").show();
});
4, if (($("- sharpaddinfo"). Css ("display")) =" none")
this has no effect, solve?