Validation: Does not work in IE8

Validation: Does not work in IE8

    Hi everyone

    My form, pasted below in it's entirety, does not verify in IE8. No errors -- validation is just ignored. I am using jquery 1.8.1 and the validation plugin version 1.9. Is it a syntax issue?
    1. <!DOCTYPE HTML>
    2. <html>
    3. <head>
    4. <!-- HTML5 biolerplace stuff below -->
    5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
    6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    7. <meta name="description" content="">
    8. <meta name="viewport" content="">
    9. <link rel="stylesheet" href="css/normalize.css">
    10. <link rel="stylesheet" href="css/main.css">
    11. <script src="js/vendor/modernizr-2.6.1.min.js"></script> 
    12. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
    13. <script src="js/vendor/jquery.defaultvalue.js"></script>
    14. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>

    15. <style>
    16. #formwrapper {
    17. height:275px; 
    18. width:250px; 
    19. background-color: #f8f8f8; 
    20. border: 1px solid #cccccc; 
    21. padding: 25px 0 25px 25px;
    22. font-family: arial;
    23. font-size: 12px;
    24. }
    25. .entry {
    26. border: 1px solid #cccccc; 
    27. margin: 5px 0; 
    28. width: 212px; 
    29. /* height: 26px; */
    30. color: black;
    31. padding: 7px 0 7px 10px;
    32. }
    33. #form_title, #button {
    34. font-size: 18px;
    35. }
    36. #form_title {
    37. color: #00589f;
    38. margin-bottom: 20px;
    39. }
    40. #button {
    41. width: 80px;
    42. height: 24px;
    43. position: relative;
    44. left: 143px;
    45. top: 15px;
    46. background-color: #00589f;
    47. border: none;
    48. color: white !important;
    49. }
    50. .error {
    51. border: 1px solid red; 
    52. background:#FFFFFF;
    53. content: "text"
    54. }
    55. .empty {
    56. color: #ccc;
    57. }
    58. </style>

    59. <script type="text/javascript">
    60. //form validation start
    61.    $(document).ready(function() {
    62. //$('form').submit(function(){
    63. // $('.incomplete').val('');
    64.         //}); 
    65. //reject default values
    66.   $("#form").validate({
    67. wrapper: ".formwrapper",
    68. keyup: false,
    69. //onfocusout: false,
    70. //onclick: false,
    71. //onchange: false,
    72. errorLabelContainer: ".form",
    73. //errorClass: "incomplete",
    74. rules: {
    75. organization: {
    76. required: true,
    77. minlength: 2
    78. },
    79. firstname: {
    80. required: true,
    81. minlength: 2
    82. },
    83. lastname: {
    84. required: true,
    85. minlength: 2
    86. },
    87. email: {
    88. required: true,
    89. email: true
    90. },
    91. phone: {
    92. required: true,
    93. minlength: 10,
    94. digits: true
    95. }
    96. }
    97. });
    98. }); 

    99. </script>

    100. </head>
    101. <body>

    102. <div id="formwrapper">
    103. <div id="form_title">REQUEST INFO</div>
    104. <form id="form" name="form_container" action="#">
    105. <!-- fields -->
    106. <input class="entry" id="organization" type="text" name="organization" placeholder="Organization"/>
    107. <input class="entry" id="firstname" type="text" name="firstname" placeholder="First Name"/>
    108. <input class="entry" id="lastname" type="text"  name="lastname" placeholder="Last Name"/>
    109. <input class="entry" id="email" type="text" name="email" placeholder="Email"/>
    110. <input class="entry" id="phone" type="text" name="phone" placeholder="Phone"/>
    111. <!-- submit button -->
    112. <input id="button" class="button" type="submit" value="Submit" /> 
    113. </form>
    114. </div>
    115. <script>
    116. //talks to defaultvalue plugin to make placeholders work in IE
    117. $('#organization, #firstname, #lastname, #email, #phone').defaultValue();
    118. </script>
    119. </body>
    120. </html>