0
function test()
{
//load some data through ajax call
html = '<a rel="facebox_edit" href="www.google.com">abc</a>';
$('#id_fv').html(html);
}
jQuery(document).ready(function($) {
$('a[rel*=facebox_edit]').facebox({
loadingImage : full_path+'images/loading.gif',
closeImage : full_path+'images/closelabel.png'
});
});
在身體負荷我所說的功能測試綁定(), 現在當我點擊鏈接就直接去www.google.com頁面,而不是在facebox加載它。如何解決它?如何facebox對象動態與DOM元素