lucasyuim

open dialog to show message link popup

Discussion created by lucasyuim on Aug 21, 2013
Latest reply on Aug 22, 2013 by zj_zou
Somebody now how to set the with of a dialog box to open when some buttom are select in a web site that have the click function?

My Javascript code is this:

 $(".message").click(
      
  function(){

   $("#message_box").dialog("open");

  }
 
 );



 $("#message_box").dialog({

  
  buttons: {

   "Close": function() { 

    $(this).dialog("close"); 

   } 

  }

 });    

Outcomes