namae ireroya boke

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link href="tab.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src=""></script> <script> $(function(){ $("form").submit(function(){ if($("input[name='name']").val()==""){ $("input[name='name']").css("border","1px solid red") .after("<span>名前入れろ</span>"); $("span").css({ "color":"red", "font-weight":"bold" }); return false; } }); }); </script> </head> <body> <form method="post"> <dl> <dt>お名前:<input type="text" name="name"></dt> <dd><input type="submit" value="送信da!"></dd> </dl> </form> </body> </html>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.