diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-07-06 05:37:21 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-07-06 05:37:21 +0000 |
commit | 0a7dbd62bf3faefcab18b57c20d2b760fead71af (patch) | |
tree | 08fc8d657631c1a7bf12e4959a7a1740cee6b8bb /demos | |
parent | 0b4831cedbb1b13f5d9dfcaff42ebda150774f27 (diff) | |
download | jquery-ui-0a7dbd62bf3faefcab18b57c20d2b760fead71af.tar.gz jquery-ui-0a7dbd62bf3faefcab18b57c20d2b760fead71af.zip |
Ensure button doesn't submit form
Diffstat (limited to 'demos')
-rw-r--r-- | demos/functional/templates/ui.datepicker.dlg.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/functional/templates/ui.datepicker.dlg.html b/demos/functional/templates/ui.datepicker.dlg.html index cf30239d0..d2875a925 100644 --- a/demos/functional/templates/ui.datepicker.dlg.html +++ b/demos/functional/templates/ui.datepicker.dlg.html @@ -1,4 +1,4 @@ -<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton">Open dialog</button>
+<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton" type="button">Open dialog</button>
<script type="text/javascript">
function setDateFromDialog(date) {
$('#dialog').val(date);
|