在原始的jQuery你可以使用如何在海邊的tableData上方返回tableHeading的值?
var $th = $td.closest('table').find('th').eq($td.index());
但是,我怎麼回$th
到海邊這樣的話,我可以把它作爲任何人丁我想一個字符串? 示例。
val do:[:e |
e class = Dictionary ifTrue:[
html tableData
onDoubleClick: (html javascript alert: 'double clicked column');
with:[self renderTargets: e on: html]
]
]
所以基本上我想要的值:
(((html jQuery this) next: 'td') closest: 'table'; find: 'th'; eq: ((html jQuery this) next: 'td') index; html).
,並把它在
...column', thValue);
末我不知道的JavaScript,jQuery的阿賈克斯還是那麼好,在海邊之外。
WWLD? 感謝
這就是「你會盧卡斯怎麼辦?」 ? –
是的,是的。 – Dusty