我試着改變我曾嘗試jQuery的回報特定輸入字段
$('#CellBox').$(':input').val("Something");
$('#CellBox :input').val("Something");
$('#CellBox:input').val("Something");
$(':input #CellBox').val("Something");
什麼..
編輯div元素「Cellbox」 內的輸入字段的值: 感謝球員, 這是一個拼寫錯誤 - 最常見的錯誤...... 的
$('#CellBox :input').val("Something");
是正確
你還沒有試過$(':input#CellBox').val(「Something」) - ;) – 2012-08-09 13:42:58