asp.net jquery örnek (open dialog)


-- button "opener" ' a gidiyor, opener "dialog" u çağırıyor.
**div ve  button  
<div id="dialog" title="Basic dialog">
  <p>aaaaaaaaaaaaaaaaaaaaaaaa</p>
</div>
<button id="opener">Open Dialog</button>

** script

<script>
$(function () {
$("#dialog").dialog({
autoOpen: false,
show: {
effect: "clip",
duration: 1000
},
hide: {
effect: "explode",
duration: 1000
}
});
$("#opener").click(function () {
$("#dialog").dialog("open");
});
});

</script>




Yorumlar