jQuery .clone() refreshes the page in safari
When I call 

    var newElement = $(someElement).clone();

It refreshes the page immediately in Safari. I use jQuery v1.6.4. and Safari v5.1. In Chrome and Firefox the above call works perfectly.

Here is the code that refreshes the page in safari.

    function resetAllPieces()
    {
       var newElement = $("li#jumble").clone();
       $oldElement.replaceWith($(newElement));
       return;
    }
    
    $("a#stop").live('click', function(e){
       resetAllPieces();
       e.preventDefault();
    });


When I click the "#stop" link, the page refreshes. Is this a bug in jQuery clone() ? Please help. 


jQuery .clone() refreshes the page in safari
===

When I call 

    var newElement = $(someElement).clone();

It refreshes the page immediately in Safari. I use jQuery v1.6.4. and Safari v5.1. In Chrome and Firefox the above call works perfectly.

Here is the code that refreshes the page in safari.

    function resetAllPieces()
    {
       var newElement = $("li#jumble").clone();
       $oldElement.replaceWith($(newElement));
       return;
    }
    
    $("a#stop").live('click', function(e){
       resetAllPieces();
       e.preventDefault();
    });


When I click the "#stop" link, the page refreshes. Is this a bug in jQuery clone() ? Please help. 

