[Dialog] Don't want open more than once
Hi all !
I'm a n0ob of jQuery but I want put a dialog widget ! I can open the dialog box but when I close it, I can't open again... :'(
This is my code :
At a bottom of
index.php :
-
<html>
<!--- [head : jquery css] --->
<body>
<p>
Link : <span class="lanceur_dialog" title="title">Click<span>
</p>
<div id="jqueryui_dialog">okokokok<br/>okok</div>
<!--- [jquery link] --->
<script type="text/javascript">
$(document).ready(function(){
$(".lanceur_dialog").click(function()
{
$("#jqueryui_dialog").dialog(
{
resizable : false,
modal : true
});
});
});
</script>
</body>
<html>
For understand code, this is it on my server :
Link
I hope you could help me !
Thank you everyone