Hi Team,
I have binded mouseup event for the body tag.
I have a button on my page and click of a button, I am loading an html page into a container which is in the body of my html.
There is close button in the loaded html as well. Click event is binded to it as well.
the code works fine for couple of clicks but after that it will not be triggering the click event of close .
Please help me out.
- $('body').mouseup(function(e){
- $.fn.addobject("Rectangle")
- })
SelectView -- button
btnClose@ -- closing button , which works for couple of times and thn stops working after couple of clicks
- $("#SelectView").click(function(e){
- var $viewHtml = "";
- $.fn.make_backscr_blur();
- $('#showViews').show();
- //getViews=true;
-
- $("#showViews").load('showViews.html', function(){
-
- $viewHtml = $(this); // local copy of this
- $vwcontainer = $(this).find('#viewList');
- $viewHtml.find("#btnclose2").on('click',function(e){
- $.fn.make_backscr_blur();
- $viewHtml.fadeOut('slow');
- });
- });
- });
Regards
Sai krishna