当前位置: 首页 > 工具软件 > jQuery A+ > 使用案例 >

jquery获取a标签id、class、name属性

赖星驰
2023-12-01
var id=$(this).attr("id");
var class=$(this).attr("class");
var name=$(this).attr("name");
 类似资料: