Hi,
I have 3 partial view in one main view. In 1st and 2nd partial view I have links . click that links open popup windows, up to now everything works fine.when I open the 1st partial view popup it works fine and second popup in 2nd partial view is also works fine for first time. Again I am trying to open 1st popup it does not open properly, only it display the popup box without any data. Both popup works fine for first time only, Second time its not working. I am using Jquery in MVC 5 application.
Thanks
Basudev PradhanPosted Nov 4, 2016, 5:37 AM
Basudev PradhanPosted Nov 4, 2016, 5:20 AM
Manju lata YadavPosted Sep 12, 2014, 1:21 AM
1. Which click method you are using like $('#Id').on('click', function(e) {}); or $('#Id').click(function() {});
I think you will be aware of firebug debuging in Mozilla put breakpoint inside function you are calling on click event and check that click event is called or not. Some times function is initiated in document.ready() but does not work on again and again, So may be issue will be related to how you are calling method.
If you still don't find reason then mail the code on [email protected]. I will try to figure out problem.