asp.net C#光标离开事件
<script type="text/javascript">
function DisplayInfo()
{
document.all("BtnHidden").click();
}
</script>
<input id="TxtManufacturerID" runat="server" onblur="DisplayInfo()" type="text" style="width: 247px" />
<input id="BtnHidden" type="button" runat="server" onserverclick="BtnHidden_Click" style="display:none; width: 82px;" value="button" />
function DisplayInfo()
{
document.all("BtnHidden").click();
}
</script>
<input id="TxtManufacturerID" runat="server" onblur="DisplayInfo()" type="text" style="width: 247px" />
<input id="BtnHidden" type="button" runat="server" onserverclick="BtnHidden_Click" style="display:none; width: 82px;" value="button" />
protected void BtnHidden_Click(object sender, EventArgs e)
{
//写入要执行的东东
}
{
//写入要执行的东东
}