禁用父窗口 [英] disable a parent window
问题描述
<!DOCTYPE html>
< html>
< head>
< script src =http:/ /code.jquery.com/jquery-1.9.1.js\"></script>
< script src =http://code.jquery.com/ui/1.10.3/jquery-ui.js>< / script>
< link rel =stylesheethref =http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css/>
< script type =text / javascript>
function showDialog(){
$(#dialog-form)。dialog({
modal:true,
标题:编辑服务费,
draggable:false,
可调整大小:false,
closeOnEscape:false,
position:['center'],
show:'blind',
hide:'blind ',
宽度:800,
身高:250,
按钮:{
取消:function() {
},
提交:function(){
}
}
});
}
< / script>
< body>
调整服务费金额
< select align =rightstyle =width:200px; >
< option value =Select> $ 15.00< / option>
< / select>
< input type =submitname =s1value =submitonclick =showDialog()/>
< / body>
< / html>
(#dialog-form)。dialog( {
模态:真,
标题:编辑服务费,
draggable:false,
可调整大小:false,
closeOnEscape:false,
位置:['center'],
显示:'盲人',
隐藏:'盲目',
宽度:800,
身高:250,
按钮:{
取消:function(){
},
提交:function(){
}
}
});
}
< / script>
< body>
调整服务C harge Amount To
< select align =rightstyle =width:200px; >
< option value =Select>
15.00< / option>
< / select>
< input type =submitname =s1value =submitonclick =showDialog ()/>
< / body>
< / html>
gjoi rebjfeti igjfwerkg vofgim re w jr先生
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script type="text/javascript">
function showDialog() {
$("#dialog-form").dialog({
modal: true,
title:"Edit Service Charge",
draggable: false,
resizable: false,
closeOnEscape: false,
position: ['center'],
show: 'blind',
hide: 'blind',
width: 800,
height:250,
buttons: {
Cancel: function() {
},
Submit:function(){
}
}
});
}
</script>
<body>
Adjust Service Charge Amount To
<select align="right" style ="width:200px;" >
<option value="Select">$ 15.00</option>
</select>
<input type="submit" name="s1" value="submit" onclick="showDialog()"/>
</body>
</html>
("#dialog-form").dialog({
modal: true,
title:"Edit Service Charge",
draggable: false,
resizable: false,
closeOnEscape: false,
position: ['center'],
show: 'blind',
hide: 'blind',
width: 800,
height:250,
buttons: {
Cancel: function() {
},
Submit:function(){
}
}
});
}
</script>
<body>
Adjust Service Charge Amount To
<select align="right" style ="width:200px;" >
<option value="Select">
15.00</option>
</select>
<input type="submit" name="s1" value="submit" onclick="showDialog()"/>
</body>
</html>
gjoi rebjfeti igjfwerkg vofgim re w jr mr
这篇关于禁用父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!