I do not know why but my Jquery dialog is not appearing.
html code
<div id="dialog" title="Uploaded Image">
<p> sample jquery dialog box </p>
</div>
Script Code
<script>
$(function(){
$("#dialog").dialog({
model:true,
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "blind",
duration: 1000
}
buttons:{
"Uploads": function(){
$(this).dialog("close");
}
"Cancel" : function(){
$(this).dialog("close");
}
}
});
});
</script>
I am using chrome