I have used the jquery .live selector in my javascript to re-initialize my greybox redux form. When the first loading the page the edit link works fine, it opens a greybox form, the form is submitted and the div is refreshed with the new content. I used the .live to re-bind the element, the only problem is when I click edit again it only displays the greybox overly and not the box itself. The Edit link is just a A tag

Here is the javascript

<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/greybox.js"></script>
<script type="text/javascript">
var GB_ANIMATION = true;
$(document).ready(function(){
$("a.greybox").live('click',function(){
var t = this.title || $(this).text() || this.href;
GB_show(t,this.href,470,600);
return false;

});
});
</script>
<script type="text/javascript">
function myTimestamp(){
tstmp = new Date();
return tstmp.getTime();}
</script>



<script type="text/javascript">
function update(){
jQuery("#showdata").load("maincontentdiv.php<?php echo $passme;?>&cache=" + myTimestamp());
}

</script>

<script type="text/javascript">
function GB_hide2() {
$("#GB_window,#GB_overlay").hide();
$("#GB_window").remove();
update();
}
</script>