mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Ensure button doesn't submit form
This commit is contained in:
parent
0b4831cedb
commit
0a7dbd62bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user