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)
>
>
>

Reply via email to