1 | <!DOCTYPE html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>jQUery dialog title field bug</title> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
6 | <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/ui-lightness/jquery-ui.css"> |
---|
7 | <style type="text/css">label, textarea { display: block; }</style> |
---|
8 | </head> |
---|
9 | |
---|
10 | <body> |
---|
11 | <form title="ignored"> |
---|
12 | <label>Title: <input name="title"></label> |
---|
13 | <label>Content: <textarea name="content"></textarea></label> |
---|
14 | </form> |
---|
15 | |
---|
16 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
---|
17 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script> |
---|
18 | |
---|
19 | <script type="text/javascript"> |
---|
20 | $(document).ready(function() { |
---|
21 | $("form").dialog({ }); |
---|
22 | }); |
---|
23 | </script> |
---|
24 | </body> |
---|
25 | </html> |
---|