mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Button: some demo code formatting
This commit is contained in:
parent
34a71eab7b
commit
f29befb40c
@ -11,21 +11,23 @@
|
|||||||
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#rerun").button().click(function() {
|
$("#rerun")
|
||||||
alert("Running the last action");
|
.button()
|
||||||
})
|
.click( function() {
|
||||||
|
alert( "Running the last action" );
|
||||||
|
})
|
||||||
.next()
|
.next()
|
||||||
.button({
|
.button( {
|
||||||
text: false,
|
text: false,
|
||||||
icons: {
|
icons: {
|
||||||
primary: "ui-icon-triangle-1-s"
|
primary: "ui-icon-triangle-1-s"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.click(function() {
|
.click( function() {
|
||||||
alert("Could display a menu to select an action");
|
alert( "Could display a menu to select an action" );
|
||||||
})
|
})
|
||||||
.parent()
|
.parent()
|
||||||
.buttonset();
|
.buttonset();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user