Jump to content

Niladri

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Niladri

  1. In my website https://www.giftstoindia24x7.com , on a button click event (in jQuery) I am populating a dynamically created html UL
    Li list. It is working fine but when I am using jQuery click event on dynamically created  ul Li , it is not working.

    The code is as follows:

    $(document).ready(function() { $('ul.cls-ul li').click(function(e) { alert(this); }); })

    Is there any better solution?

×
×
  • Create New...