首页
科技
登录
6mi
u
盘
搜
搜 索
科技
jq通过对象获取其ID值
jq通过对象获取其ID值
it
2022-05-09
31
$(
this
).click(
function
(){
var
this_id=$(
this
).attr("id"
);// attr(属性名) 获取属性的值 alert(this_id); });
转载于:https://www.cnblogs.com/Alandre/p/3362050.html
转载请注明原文地址: https://win8.8miu.com/read-1486225.html
专利
最新回复
(
0
)