- 1.选择扑֛方式
- 2.认验证信息
- 3.修改密码
- 4.修改成功
jQuery(document).ready(function() {
$("#TxtUserName").focus(function cls() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓ默认|则清I?
if (value == '用户?UID') value = ""
});
$("#TxtUserName").blur(function res() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓI,则重|ؓ默认?
if (value == "") value ="用户?UID"
});
$("#TxtPassWord").focus(function cls() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓ默认|则清I?
if (value == '******') value = ""
});
$("#TxtPassWord").blur(function res() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓI,则重|ؓ默认?
if (value == "") value ="******"
});
IsLogin();
});
jQuery(function(){
jQuery(".premenu").hover(function(){
jQuery(this).find(".subnav").stop(true,true);
jQuery(this).find(".subnav").slideDown();
},function(){
jQuery(this).find(".subnav").stop(true,true);
jQuery(this).find(".subnav").slideUp();
});
})
todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getYear();
if(navigator.appName == "Netscape")
{
document.write(1900+year);
document.write("q?);
document.write(month);
document.write("?);
document.write(date);
document.write("?);
document.write(" ")
}
if(navigator.appVersion.indexOf("MSIE") != -1)
{
document.write(year);
document.write("q?);
document.write(month);
document.write("?);
document.write(date);
document.write("?);
document.write(" ")
}
if (todayDate.getDay() == 5) document.write("星期?)
if (todayDate.getDay() == 6) document.write("星期?)
if (todayDate.getDay() == 0) document.write("星期?)
if (todayDate.getDay() == 1) document.write("星期一")
if (todayDate.getDay() == 2) document.write("星期?)
if (todayDate.getDay() == 3) document.write("星期?)
if (todayDate.getDay() == 4) document.write("星期?)
贵州百花药业_针生U签U落户合?/H1>
作者:guoyawei 来源Q香港商?nbsp; 点击敎ͼ0 更新旉Q?011-6-30 12:08:28
[关键字]Q?/font> 生U?/a>
贵州百花医药
_针
合川
健康|讯Q?/FONT>
6?8日,贵州百花医药股䆾有限公司投资的年?00万支d_针?00万支__)针生产线目正式{落户合川。据了解Q该目由合川区政府副区长梁亚荣牵头QL?.8亿元Q将集新药研发、药品制造于一体的医药生目Qƈ建立...
jQuery(document).ready(function() {
$("body").keydown(function(event) {
if (event.keyCode == "13"&&$("#Mynologin").css("display")=="block") {
$("#logsubmit1").click();
return false;
} });
CloseErrMag();
$("#MyTxtUserName").focus(function cls() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓ默认|则清I?
if (value == '用户?UID') value = ""
});
$("#MyTxtUserName").blur(function res() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓI,则重|ؓ默认?
if (value == "") value ="用户?UID"
});
$("#MyTxtPassWord").focus(function cls() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓ默认|则清I?
if (value == '******') value = ""
});
$("#MyTxtPassWord").blur(function res() {
//捕获触发事g的对象,q设|ؓ以下语句的默认对?
with (event.srcElement)
//如果当前gؓI,则重|ؓ默认?
if (value == "") value ="******"
});
ContentpdLmqx();
});
//判断权限
function ContentpdLmqx()
{
var err = "";
var user = $.cookie('userName'); // 获得cookie
//没有cookie昄介和登陆H口
if (user == null) {
//alert(222);
//alert($.cookie('cook'+'428590'));
//alert($.cookie('qxType'+'428590'));
//alert($.cookie('qxError'+'428590'));
jQuery("#Mynologin").show();
jQuery("#Myhaslogin").hide();
}
//判断权限
else
{
if($.cookie('cook'+'428590')=="true")
{
if($.cookie('qxType'+'428590')=="1")
{
jQuery("#Mynologin").hide();
jQuery("#Myhaslogin").hide();
}
else
{
jQuery("#Mynologin").hide();
jQuery("#Myhaslogin").show();
err = "
"+$.cookie('qxError'+'428590')+"";
jQuery("#myErrmag").html(err);
OpenErrMag();
}
$.cookie('cook'+'428590', null,{ path: '/' }); // 讄cookie
$.cookie('qxType'+'428590', null,{ path: '/' }); // 讄cookie
$.cookie('qxError'+'428590', null,{ path: '/' }); // 讄cookie
}
else
{
}
}
}
function OpenErrMag()
{
//打开无权限提C?
jQuery("#my_dow1").show();
jQuery("#errMag").show();
}
function CloseErrMag()
{
//关闭收藏
jQuery("#my_dow1").hide();
jQuery("#errMag").hide();
}
function SetCookie(name,value){
expires=new Date();
expires.setTime(expires.getTime()+(86400*365));
document.cookie=name+"="+value+"; expires="+expires.toGMTString()+"; path=/";
}
function JsGetCookie(sName) {
var aCookie = document.cookie.split("; ");
for (var i = 0; i < aCookie.length; i++) {
var aCrumb = aCookie[i].split("=");
if (sName == aCrumb[0])
return unescape(aCrumb[1]);
}
return null;
}