




















txtRegisterCode.Attributes.Add("onkeypress", "ClearInput(this);");
txtSupplierName.Attributes.Add("onkeypress", "ClearInput(this);");
function ClearInput(inputingControl)
{
var prefix = "ctl00_ContentPlaceHolder1_";
var txtRegisterCode = document.getElementById(prefix+'txtRegisterCode');
var txtSupplierName = document.getElementById(prefix+'txtSupplierName');
if(txtRegisterCode==inputingControl)
{
txtSupplierName.value="";
}
if(txtSupplierName==inputingControl)
{
txtRegisterCode.value="";
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。