title: Load external php file in jquery modal dialog onclick
body: <p>I'm trying to open a jquery modal dialog box when the user clicks on a link.  I'd like to then load an external php file into the dialog box.  I'm using this jquery:</p>
  
  <pre><code>$(document).ready(function() { 
       $('#register').dialog({
           title: 'Register for LifeStor',
           resizable: true,
           autoOpen:false,
           modal: true,
           hide: 'fade',
           width:350,
           height:275,
        });//end dialog   
        $('#reg_link').click (function() {
            open: (function(e) {
               $('#register').load ('register.php');
          });
        }); 
      }); 
  </code></pre>
  
  <p>and this html:</p>
  
  <pre><code>&lt;div id="register"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>which is set to display:none in the .css file.</p>
  
  <p>Further on, inside a form, the link is called:</p>
  
  <pre><code>&lt;td&gt;&lt;font size="2"&gt;Not registered? &lt;a href="#" name="reg_link"&gt;Sign-Up!&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  
  <p>(I'll be changing the table to divs).</p>
  
  <p>I don't get any errors with this code, but nothing happens when I click the link.  I got most of the above from other stack overflow posts.  Am I missing something?  Is the table html interfering?</p>
  
  <p>Regards...</p>