title: TypeError: 'undefined' is not a function (evaluating '$( "#wnd_Addparam" ).dialog')
body: <p>I had this example from 2 months and I changed the PC. Now this doesn't seem to work anymore. This is an example that should load a small window's dialog by (before) pushing a button.
  However, it does not work...
  This is my code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
   &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
  // &lt;---- VENTAÑAS DE PARAMETERES----&gt;
  
  var regex,v,l,c,b;
  $( "#wnd_Addparam" ).dialog({
              autoOpen: false,
              height: 'auto',
              width: 350,
              modal: true,
              resizable:false,
              buttons: {
                  "Add": function() {
                                  $( this ).dialog( "close" ); 
                                     },
                  Cancel: function() {
                      $( this ).dialog( "close" );
                  }
              },
              close: function() {
                  $( this ).dialog( "close" );
              }
          });
  
          $( "#btn_Addpar" ).click(function() {
                  $( "#wnd_Addparam" ).dialog( "open" );
              });
  $( "#wnd_Paramedit" ).dialog({
              autoOpen: false,
              height: 'auto',
              width: 350,
              modal: true,
              resizable:false,
              buttons: {
                  "Accept": function() {
                        $( this ).dialog( "close" );  
  
                  },
                  Cancel: function() {
                      $( this ).dialog( "close" );
                  }
              },
              close: function() {
                  $( this ).dialog( "close" );
              }
          });
  
          $( "#btn_Pedit" ).click(function() {
                  $( "#wnd_Paramedit" ).dialog( "open" );
              });
  $( "#wnd_Borpara" ).dialog({
              autoOpen: false,
              height: 'auto',
              width: 300,
              resizable:false,
              modal: true,
              buttons: {
                  "Accept": function() {
                      $(this).dialog("close");
  
                  },
                  Cancel: function() {
                      $( this ).dialog( "close" );
                  }
              },
              close: function() {
                  $( this ).dialog( "close" );
              }
          });
  
          $( "#btn_Deletepara" ).click(function() {
                  $( "#wnd_Borpara" ).dialog( "open" );
              });
  
  &lt;/script&gt;&lt;/head&gt;
  &lt;!--&lt;form method="POST" id="iformp" name="nformp"&gt;--&gt;
  &lt;body&gt;
  &lt;h3&gt;List of parameters&lt;/h3&gt;
  &lt;div id="sortparam" &gt;
  &lt;/div&gt;
   &lt;input type="button" id="btn_Addpar" value="Add"/&gt;
  &lt;input type="button" id="btn_Deletepara" value="Delete"/&gt;
  &lt;input type="button" id="btn_Pedit" value="Edit"/&gt;
  &lt;!--&lt;form&gt;--&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Please.. Why I do have an error for the dialog???</p>