<td height="31" width="265"><a href="#" onclick="window.open('dep_add.jsp?dep_name=?????','','width=300,height=150')">新增</a></td>
解决方案 »
- extjs4 mvc 怎么初始化(通过调用后台数据)创建toolbar
- js select 下拉框 如何当选择一个内容的时候,变回默认值 请选择
- 这个值该怎么获取呢?
- 请教用thickbox显示多图的问题。
- js在IE 里 调试时 跳到一个 叫“Script-window script block”
- 父页面关闭时,子页面自动关闭
- 关于改变表格行顺序的问题
- 散分求救!!!
- 各位看看这句是否有什么问题???
- 请懂jquery.form.js的帮忙改改
- 为什么按F5刷新都无效,非要点击菜单,选择Internet选项,手工清除缓存文件才可以显示最新的内容?
- 请问,如何做一个让别人可以看的见但是却不能拷贝的网页?
<input type = text id= t1>
<td height="31" width="265"><a href="#" onclick="sub()">新增</a></td>
<script>
function sub()
{
aa = t1.value;
str = "dep_add.jsp?dep_name="+aa;
window.open(str,'','width=300,height=150);
}
<table width="384" height="27" align="center">
<tr>
<td height="31" width="107"><b><font color="#990000">组织名称:</font></b></td>
<td height="31" width="265">
<input type="text" name="org_name" size="30">
</td>
</tr>
<tr>
<td height="31" width="107"> <b><font color="#990000">新增部门:</font></b></td>
<td height="31" width="265"><a href="#" onclick="javascript:form1.submit();">新增</a></td>
</tr>
<tr>
<td height="24" width="107"> </td>
<td height="24" width="265">
<input type="submit" name="submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</td>
</tr>
</table>
</form>