jquery2010.10.29 01:33

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  <script src="http://code.jquery.com/jquery-latest.js"></script>
  <script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
<style type="text/css">
* { font-family: Verdana; font-size: 96%; }
label { width: 10em; float: left; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }

<form class="cmxform" id="commentForm" method="get" action="">
   <legend>A simple comment form with submit validation and default messages</legend>
     <label for="cname">Name</label>
     <em>*</em><input id="cname" name="name" size="25" class="required" minlength="2" />
     <label for="cemail">E-Mail</label>
     <em>*</em><input id="cemail" name="email" size="25"  class="required email" />
     <label for="curl">URL</label>
     <em>  </em><input id="curl" name="url" size="25"  class="url" value="" />
     <label for="ccomment">Your comment</label>
     <em>*</em><textarea id="ccomment" name="comment" cols="22"  class="required"></textarea>
     <input class="submit" type="submit" value="Submit"/>

'jquery' 카테고리의 다른 글

Jquery json  (0) 2011.02.23
Jquery select box  (0) 2011.02.07
jquery simple tree  (0) 2011.01.08
jquery 관련사이트  (0) 2010.10.29
jquery validation check  (0) 2010.10.29
jQuery plugin Validation 사이트  (0) 2010.10.29

Posted by 화니뿡뿡