查询数据库,如果有是张三的名称的就弹出个层
是弹出一个层,并不是显示。像弹出窗口一样弹出?
是弹出一个层,并不是显示。像弹出窗口一样弹出?
解决方案 »
- 求一SQL语句
- 网站发布以后,在导出到excel时,弹出登陆框。
- DropDownList二级联动,但是如果更改父级,子级的项目不会跟着改变
- 请教如何保存参数?
- 有在vs2010里面用过 FCKeditor编辑器出现的问题
- 一条数据只要数字部分,其它符号不要,怎样取,请高手指教
- 依旧困扰我的问题 ASP.NET调用PHP 中Webservice的问题
- 带有 CLSID {F812B147-0E26-4222-8EE4-9F753CD2B39C} 的 COM 对象无效或未注册。
- 怎样才能把某一字段中值相等的数据全部选取出来
- 怎么把数据库里的“true/false”转换为“男/女”然后赋值给datalist?
- C# 委托在实际中的应用
- 导出pdf的问题
function show(obj)
{
var range = getRange();
$('div2').style.width = range.width + "px";
$('div2').style.height = range.height + "px";
$('div2').style.display = "block";
document.getElementById(obj).style.display="";
}
function getRange()
{
var top= document.body.scrollTop;
var left= document.body.scrollLeft;
var heigh = document.body.clientHeight;
var width = document.body.clientWidth;
if (top==0 && left==0 && height==0 && width==0)
{
top = document.documentElement.scrollTop;
left= document.documentElement.scrollLeft;
height= document.documentElement.clientHeight;
width = document.documentElement.clientWidth;
}
return {top:top ,left:left ,height:height ,width:width } ;
}
function show(obj)
{
var range = getRange();
$('div2').style.width = range.width + "px";
$('div2').style.height = range.height + "px";
$('div2').style.display = "block";
document.getElementById(obj).style.display="";
}
function getRange()
{
var top= document.body.scrollTop;
var left= document.body.scrollLeft;
var heigh = document.body.clientHeight;
var width = document.body.clientWidth;
if (top==0 && left==0 && height==0 && width==0)
{
top = document.documentElement.scrollTop;
left= document.documentElement.scrollLeft;
height= document.documentElement.clientHeight;
width = document.documentElement.clientWidth;
}
return {top:top ,left:left ,height:height ,width:width } ;
}
就是这样的啊,今天刚接触的
祝你成功!
->
ExtAspNet
AjaxToolKit