Beste,
Ik heb heb volgende script. Je ziet staan . Maar dat staat er ook gewoon. Hij voert de code niet uit. Ik wil dat die tekst bold (strong) word, maar hoe?
Ik heb heb volgende script. Je ziet staan . Maar dat staat er ook gewoon. Hij voert de code niet uit. Ik wil dat die tekst bold (strong) word, maar hoe?
function validateName(){
//if its NOT valid
if(name.val().length < 4){
name.addClass("error");
nameInfo.text("<strong>(Let op!)</strong> Je naam moet bestaan uit meer dan drie karakters.");
nameInfo.addClass("error");
return false;
}
//if its valid
else{
name.removeClass("error");
nameInfo.text("<strong>Naam</strong> (Verplicht)");
nameInfo.removeClass("error");
return true;
}
} <form action="http://game.allard.s2.one2xs.com/wp-vento-comments-post.php" rel="facebox" method="post" id="commentform">
<p><input type="text" name="author" id="author" value="gfd" size="22" tabindex="1" />
<span id="authorInfo"><strong>Naam</strong> (Verplicht)</span></p>
<input type="hidden" name="comment_post_ID" value="128" />
</p>
</form> 