jQuery 选择器 的应用规范 公司 获得选中项 ID的模糊查询

来源:互联网 发布:黄家驹动态主题软件 编辑:程序博客网 时间:2024/04/29 09:28
$(obj).parent('td').parent('tr').find("td input[id^='hidden_attributeTypeId_']").val();

var spanId = $(obj).parent('td').find('span[id^="span_attributeName_"]').attr('id');var hiddenId = $(obj).parent('td').find('input[id^="hidden_attributeName_"]').attr('id');


if($(this).is(':checked')){


[attribbute^=value]     以某些值开头

[attribbute$=value]    以某些值结尾

[attribbute*=value]    包含

0 0
原创粉丝点击