PHP注册信息提示对话框
怎么做 显示提示框 (不是 alert这种弹出来的) 要 显示出来的
没写值 直接按提交按扭
哪个框没写值的话 就在哪个框后面 显示 提示信息
<table>
<tr>
<td> <input type="text">姓名 </td>
<td> <input type="text">姓名为空的话 输出 姓名不能为空提示信息 </td>
</tr>
<tr>
<td> <input type="text">性别 </td>
<td> <input type="text">性别为空的话 输出 性别提示不能为空提示信息 </td>
</tr>
<input type="submit" value="提交">
列:
跟新浪的 差不多
http://vip.sina.com.cn/register/reg_vipmail.php
javascript的东西
<td id='aa'>
document.getElementById("aa").innerHTML="姓名不能为空";
用户名:________________ <div>空时就显示出来,非空就隐藏 </div>
我按你的要求写的 你看看是不是你想用的效果
JScript code:
<table>
<tr>
<td> 姓名:<input type="text" id='uname'> </td>
<td> <input type="text" id='name1' name='name1
相关问答:
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
$a = $_FILES['userfile']['name'] ;
$test = $a;
$p = split('/',$test);
$p[count($p)-1];
$content = file_get_contents("$p");
$con ......
<html>
<head>
<title>hello </title>
</head>
<body>
<input type="button" value="Click" onClick=" ......
<?php
getenv("ORACLE_HOME");
$conn=ocilogon("test","test","test_db");
if($conn)
echo success;
&nb ......