linux学习笔记----8
2016-01-14 18:00
656 查看
方法一:<base target="_self" />
方法二:js
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ include file="/common/taglibs.jsp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <base target="_self" /><!--showModelDialog提交表单时不打开新窗口,发现这个和日历控件WdatePicker有冲突--> <head> <form method="post" > ... </form>
方法二:js
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ include file="/common/taglibs.jsp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script> window.name="personForm";//这种方法也可以window.name=form的target </script> <form method="post" target="personForm">
相关文章推荐
- jdk 1.7 安装 centos6.4-64位
- centos安装yum源
- Linux常用系统日志
- centos下wget: command not found的解决方法
- CentOS 6.5上安装MySQL-Cluster
- centos安装
- udev控制磁盘引导顺序
- CentOS6.5使用udev管理网卡
- linux sed 批量替换字符串
- Linux根目录结构
- [Linux] 账户管理命令(二)
- 为什么很多公司招聘前端开发要求有 Linux / Unix 下的开发经验?
- Linux强制踢出登录用户(断线账户剔除)
- Linux每日学习(七)
- 解决vbox安装centos不能上网问题
- linux分配swap分区-48
- LINUX目录结构详解
- linux下"="号与"=="号
- linux分区和目录相关知识
- Linux curses 总结三(对键盘的操作)