📜  ajax 中的名称类和 id 引用 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:16.143000             🧑  作者: Mango

代码示例1
$('td[name ="tcol1"]')   // matches exactly 'tcol1'
$('td[name^="tcol"]' )   // matches those that begin with 'tcol'
$('td[name$="tcol"]' )   // matches those that end with 'tcol'
$('td[name*="tcol"]' )   // matches those that contain 'tcol'