c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}elsethis.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)returnw;if(f&&binc.attrFn)returnc(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);vare=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){varj=$a.test(b);if(bina&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");