我有一个带有上传文件功能的自定义元文件,但问题是,当点击下面的jQuery代码“插入到帖子”时,我无法获得fileurl按钮的值
window.send_to_editor = function(html)
{
dlink = jQuery(\'button.urlfile\',html).attr(\'title\');
jQuery(\'#download_link\').val(dlink);
tb_remove();
}
tb_show(\'\', \'media-upload.php?post_id=1&type=image&TB_iframe=true\');
return false;