title: Jquery dialog : Hide the button
body: <p>I am using Jquery's dialog() method to create dialog.
  I am creating buttons on the dialog while creating the dialog, using</p>
  
  <pre><code>      $("#divName").dialog({
              buttons:
              {
              "Cancel":{
  </code></pre>
  
  <p>I have one event on which I need to hide the button,but don't know which attributes to use.
  Please tell me the attributes to hide button.
  Thanks in advance.</p>