KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The below code works fine for only the first click event. However for any subsequent click nothing happens. I tested this on firefox, ie7 but still the same. Am I missing something? <script type="text/javascript"> $(document).ready(function() { //$('#dialog').dialog(); $('#dialog_link').click(function() { $('#dialog').dialog(); return false; }); }); </script> </head><body> <div id="dialog" title="Dialog Title" style="display:none"> Some text</div> <p id="dialog_link">Open Dialog</p> </body></html>
Tags (comma-separated)
Save Edits
Cancel