Skip to content

Instantly share code, notes, and snippets.

@seivan
Created March 9, 2009 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seivan/76244 to your computer and use it in GitHub Desktop.
Save seivan/76244 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
jQuery(document).ready(function() {
$("#dialog").dialog({ height: 500, width: 500, position: [30, 30], minHeight: 300, minWidth: 300 });
});
jQuery(document).ready(function() {
$("#wxw:button").click(function() {
$("#dialog").dialog({show: "transfer"});
alert("JELLOWORLD");
});
});
</script>
</head>
<body>
<button id="wxw">HEY</button>.
<div class="demo">
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment