When I try to to this, I found it looks like the second dialog wasn't created.
Who knows how to implement it? Thanks $(document).ready ( function() { $("div#form1").dialog ( { width: 290, height: 380 } ); $("div#form2").dialog ( { width: 290, height: 200 } ); } )