属性='值'jquery选择没有'我不在IE工作
attribute!='value' jquery selection doesn't work in IE
我有一个jQuery( "[attribute!='value']" )
jquery选择,它适用于除IE之外的所有浏览器。我也尝试过.not( "[name='value']" )
,但没有成功。
JS:
$("input[type=file]").not("[name='photo_1']").parents('.fileinput-wrapper').find(".label").remove();
我该怎么办?
编辑:
$("input[name!='photo_1']").parents('.fileinput-wrapper').find(".label").remove();
我认为.filter
可能是这里的答案:
$("input[type='file']").filter(function(){
if($(this).attr('name') != 'photo_1'){
return true;
}
return false;
}).parents('.fileinput-wrapper').find(".label").remove();
相关文章:
- Target=_blank don'我不在mozilla和IE工作
- jQUery Code没有'我不在IE工作
- 为什么这个书签脚本是't在IE工作
- 类构造函数super()没有'我不在IE工作
- onmousemove=null不会'我不在IE工作
- execCommand('另存为',true,'data.csv');不在IE工作
- 努力让第n个有悬停的孩子在IE工作
- Javascript Groovy按钮没有'我不在IE工作
- 属性='值'jquery选择没有'我不在IE工作
- atob不在IE工作
- 将图像附加到富文本编辑器dosen'我不在IE工作
- javascript没有'I don’我一直在IE工作
- 使用插件制作移动滑动导航,但它没有'我不在IE工作
- Video.js没有'我不在FF、IE工作
- dojo on.emit”;点击“;以及“;改变“;不在IE工作
- 为什么这个工具提示没有'不在IE工作吗?错误:应为对象
- document.getElementById('a').click()没有't在IE工作
- 插入符号插件的jquery;我不在IE工作
- 聚合物:点击事件在IE工作,但不是Chrome.如何修复
- 如何使IE工作预期与正则表达式提供的函数参数在拆分函数