Skip to content
Permalink
Browse files

Ensure button doesn't submit form

  • Loading branch information
Keith Wood
Keith Wood committed Jul 6, 2008
1 parent 0b4831c commit 0a7dbd62bf3faefcab18b57c20d2b760fead71af
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 0a7dbd6

Please sign in to comment.
You can’t perform that action at this time.