Skip to main content

Bug Tracker

Side navigation

Ticket #4745: test.html
File test.html, 1.3 KB (added by BalusC, June 10, 2009 10:06PM UTC)

test file for jquery validator bug in IE8

<!doctype html>
<html>
    <head>
    <script src="jquery.js" type="text/javascript"></script>
    <script src="jquery.validate.js" type="text/javascript"></script>
    <script>
        $(document).ready(init);

        function init() {
            $('#form').validate();
        }
    </script>
    </head>
    <body>
        <form id="form">
            <table>
                <tr>
                    <td>
                        <select name="field[1][a]" class="required">
                            <option></option><option>foo</option>
                        </select>
                    </td>
                    <td>
                        <input type="text" name="field[2][a]" class="required">
                    </td>
                </tr>
                <tr>
                    <td>
                        <select name="field[1][b]" class="required">
                            <option></option><option>bar</option>
                        </select>
                    </td>
                    <td>
                        <input type="text" name="field[2][b]" class="required">
                    </td>
                </tr>
            </table>
            <input type="submit">
        </form>
    </body>
</html>

Download in other formats:

Original Format