我正在使用Youtube Playlist Thumbs
<form action="add_user.php" method="post">
<h3>Name</h3>
<input name="name" placeholder="Name">
<h3>Username</h3>
<input name="username" placeholder="Username">
<h3>E-mail</h3>
<input name="email" placeholder="E-mail">
<h3>Password</h3>
<input name="password" placeholder="Name" id="password" type="password">
<h3>Confirm Password</h3>
<input name="confirm_pass" placeholder="Name" id="confirm_password" type="password">
<p id="pass_state"></p>
<input type="submit" value="Create User">
</form>
<script>
var pass = document.getElementById("pass");
var conf_pass = document.getElementById("conf_pass");
function ValidatePass() {
if (pass.value != conf_pass.value) {
document.getElementById("pass_state").innerHTML = "Password Does not match"
}else {
document.getElementById("pass_state").innerHTML = "Password match"
}
}
</script>
它只显示插件短代码。任何想法如何解决?