[英]File upload not working in IE, but works in FF, Chrome, and Safari
[英]Jeditable not working in IE, but works in FF, Chrome
我有一張桌子做的:
<td class='editable' id='<?=data['id']?>' col='<?=data['col_name']?>'>Content</td>
$data
是$query
的mysql_fetch_assoc
,當我單擊<td>
,可編輯插件在FF或Chrome中激活,但在IE中不起作用。
$(function () {
$(".editable").click(function (event) {
$(this).editable('ajax_save.php',{
id : 'id',
name : $(this).attr('col'),
submit : 'Save',
cancel : 'Cancel',
tooltip : ''
});
});
});
我不知道為什么會這樣,您能幫我嗎?
謝謝
似乎並非所有選項都可在IE 7/8上運行...
此代碼有效
$(document).ready(function() {
$(".editable").editable("ajax.php",{
type: "text"
});
});
這不
$(document).ready(function() {
$(".editable").editable("ajax.php",{
type: "text", submit:"OK",cancel:"Cancel"
});
});
問米卡·圖波拉(Mika Tuupola)這件事,也許jquery或jeditable處理td元素的方式有問題,將信息包裝在div中會創建開銷的DOM,如果我們要處理大量報告,則會影響性能。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.