Thank you very much, gread work!
On 9/14/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > Okay, I just committed the fix for this in SVN. Feel free to grab the > latest version from SVN to get this working properly. > > -- > Brandon Aaron > > On 9/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > > > Okay I finally found a little time to take a look at this and I can > > confirm that it is not working. I'll be committing a fix to SVN soon and it > > will be in the upcoming jQuery 1.2.1. > > > > -- > > Brandon Aaron > > > > On 9/13/07, linuja <[EMAIL PROTECTED]> wrote: > > > > > > sorry, i forget show the code. here it is: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd > > > "> > > > > > > <html xmlns="http://www.w3.org/1999/xhtml "> > > > <head> > > > <meta http-equiv="Content-Type" content="text/html; > > > charset=utf-8" /> > > > > > > <script type="text/javascript" > > > src="../../scripts/jquery/jquery.pack.js"></script> > > > <script type="text/javascript"> > > > $(function(){ > > > $('div.div1').click(function(){ > > > alert('here'); > > > }).clone(true).show().insertAfter($('div.div1')); > > > > > > }); > > > </script> > > > </head> > > > > > > <body> > > > <div class="div1" style="display:none;">div</div> > > > </body> > > > </html> > > > > > > when click the div, it should alert "here". > > > This code works in FF and Opera. But it doesn't work in ie(both ie6 > > > and ie7). > > > > > > Thanks > > > > > > On 9/12/07, Brandon Aaron < [EMAIL PROTECTED]> wrote: > > > > > > > > Could you post an example of the issue? BTW ... It only copies > > > > events bound with jQuery. > > > > > > > > -- > > > > Brandon Aaron > > > > > > > > On 9/11/07, linuja < [EMAIL PROTECTED]> wrote: > > > > > > > > > > jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and > > > > > ie7) > > > > > > > > > > > > > > > > > >