Hi!
When I add a trigger with javascript and after that I click on the trigger, the jqModal doesn't show. First i Click on "show jqModal" and everything works perfectly, after that i click on "show 2nd trigger" and the 2nd trigger is shown. Now i Click on the 2nd trigger "show jqModal2" but nothing happens. When i click on "show jqModal" everything works. Here is my code (i wrote a { instead a < in the front of the a-tags, otherwise i hasn't been shown correctly here): ... <script> $(document).ready(function(){ $('#divModal').jqm({trigger: '.jqModal'}); }); function helpClick() { $("#help").html('{a href="#" class="jqModal">Show jqModal2{/a>'); } </script> ... {a href="#" class="jqModal">Show jqModal{/a><br /> {a href="#" onClick="helpClick();">show 2nd trigger{/a> <div id="help"></div> <div id="divModal" class="jqmWindow">lorem ipsum, ....</div> -- View this message in context: http://www.nabble.com/jqModal-add-trigger-with-javascript-tp17099129s27240p17099129.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.