]> source.dussan.org Git - jquery-ui.git/commitdiff
Ensure button doesn't submit form
authorKeith Wood <kbwood.au@gmail.com>
Sun, 6 Jul 2008 05:37:21 +0000 (05:37 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Sun, 6 Jul 2008 05:37:21 +0000 (05:37 +0000)
demos/functional/templates/ui.datepicker.dlg.html

index cf30239d08467ff430a118c21f6a96b6486787b5..d2875a9252ece6b8aeaf597dfe2e9a1ad8b47513 100644 (file)
@@ -1,4 +1,4 @@
-<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton">Open dialog</button>\r
+<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton" type="button">Open dialog</button>\r
 <script type="text/javascript">\r
 function setDateFromDialog(date) { \r
     $('#dialog').val(date); \r