This is a migrated thread and some comments may be shown as answers.

[Solved] modify onclik button function into window content

0 Answers 13 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Emmanuel
Top achievements
Rank 1
Emmanuel asked on 15 Sep 2011, 10:45 AM
Hi telerik's,

i'm using this code to load a window content :

$("#wincontent").load('@Url.Action("mywin","Home")', { sommestuff:"title" }, function(){
     $('#mybuttoninside'.attr('onclick','').click(function(){
         alert("loaded");
         $('#_twindow').data("tWindow").destroy();
 
         Another thing...
         });
    });

i'm troubled to see that this click on mybuttoninside the window doesn't work when i remove the alert();

is there are any latency, or special thing with alert...

thanks
ps (firefox 3.6.10)
Tags
Window
Asked by
Emmanuel
Top achievements
Rank 1
Share this question
or