Merhaba
koduyla tek dialog box açtırabiliyorum. Fakat ben bu kutuyu php olarak id ye göre açtırmak istiyorum. Bunu nasıl yapabilirim ?
PHP:
$(function ()
{
$("#dialog").dialog(
{
autoOpen: false,
show: "blind",
hide: "explode",
buttons: {
OK: function ()
{
$(this).dialog("close")
}
}
});
$("#opener").click(function ()
{
$("#dialog").dialog("open");
return false
})
});
PHP:
<div id="dialog" title="Basic dialog">
<p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
PHP:
<a class="button" href="#" title="Görüntüle" id="opener">
<span class="icon24_sprite i24_eye_open" aria-describedby="ui-tooltip-343"></span></a>