1
我正在嘗試使用jQuery UI對話框窗口打開的對話框顯示標題,但它是空白的。ColdFusion的空白jQuery對話框窗口
我知道它正在擊中所請求的鏈接,因爲它會引發我放入其中一個頁面的錯誤。但是,該頁面從未加載。有任何想法嗎?
<script type="text/javascript">
$(document).ready(function() {
$('#theKids td a').each(function() {
var $link = $(this);
var $dialog = $('<div></div>')
.load($link.attr('HREF') + ' #content')
.dialog({
autoOpen: false,
draggable: false,
title: $link.attr('title'),
modal: true,
width: 500
});
$link.click(function() {
$dialog.dialog('open');
return false;
});
});
});
</script>
<table id="theKids">
<tr>
<th>Home</th>
<th>X</th>
<th>Y</th>
</tr>
<cfoutput query="gradeList">
<tr>
<td>#homename#</td>
<td><<a href="pagex.cfm" title="X">#contract#</a></td>
<td><a href="pagey.cfm" title="Y">#meds#</a></td>
</tr>
</cfoutput>
</table>
拋出錯誤怎麼辦?你真的在哪裏看到錯誤? – 2011-02-07 15:37:13