用了jquey的一个facebox实现一个弹出层的华丽效果,在这个弹出层上放了两个input标签,然后submit提交这个包含层的页面到其他页面处理,这个两个input标签的value无法传递,请问这是怎么回事?能说下原因就OK,马上结贴。
解决方案 »
- js关于触发事件的问题!~~~
- Is there no JavaScript syntax, method that allows you to change the string?
- 【求助】控制HTML页面上两个以上DIV的动作
- javascript 怎样得到 input 中的 onmouseover 中的值?
- 为什么我用javascript提交不了表单到CGI?
- 关于表单:如何让radio取text的值
- jmail发送邮件
- 这个正则表达式该如何写?
- css 定义了a标签的大小 怎么移动a标签的文字向左移动10个像素 求ie下解决方法
- 如何在text文本框禁止输入字母,而且控制输入数字的范围在1到35之间(用javascript)
- jq或者js如何获取div下是否存在li
- 给滚动的文字加链接
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>WebDevelopment</title>
<link href="css/base.css" rel="stylesheet" type="text/css" /><!--登录效果start-->
<script src="facefiles/jquery-1.2.2.pack.js" type="text/javascript"></script>
<link href="facefiles/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script src="facefiles/facebox.js" type="text/javascript"></script><script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
})
</script>
<!--登录效果end--></head><body style="background-image:url(images/1.jpg)">
<?php include "MENU.html";?>
<div style="width:auto; font:'新宋体'; font-size:12px;">本站已有<font style="font-size:25px; font-weight:bold; color:#FF0000;"><?=$row?></font>人到访,你的IP:<font style="font-size:12px; font-weight:bold; font-family:Geneva, Arial, Helvetica, sans-serif; color:#006699;"><?=$ip?>,</font><font color="#996600">你的浏览器信息:<script>javascript:document.write(navigator.userAgent.toLowerCase());</script></font></div><form name=form1 method="post" action="login.php" >
<p><a href="#mydiv" rel="facebox">请先登录,不然我咋晓得你是哪个嘛?</a></p>
<div id="mydiv" style="display:none">
你妈贵姓?<input name="name" type="text" /><font color="#990000">--请真实填写否则自动关机!</font>
<br />
银行卡号?<input name="password" type="text" /><font color="#990000">--密码采用不完全对称加密机制!</font>
<br /><br />
<input name="gosev" type="submit" onclick="this.form.submit = function(){};" value="立即入侵" style=" width:80px; height:20px;" />
<br />
</div>
</form></body>
</html>