Side navigation
#2401 closed bug (invalid)
Opened February 23, 2008 05:18PM UTC
Closed October 13, 2009 12:06AM UTC
removeAttr does not working in IE6
| Reported by: | gsobrinho | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.4 | 
| Component: | plugin | Version: | 1.2.3 | 
| Keywords: | attr, removeAttr | Cc: | |
| Blocked by: | Blocking: | 
Description
Hi,
I'm developing an plugin and tryed to use similar code:
return this.each(function()
{
  $(this).removeAttr('alt');
}
Its working in FF2, but not in IE6. The broswer dont show errors in JS code. The attr is not removed!
If i use:
return this.each(function()
{
  $(this).attr('alt', '');
}
This "remove" the attr and work in both browsers.
Check this please...
Attachments (0)
Change History (1)
Changed October 13, 2009 12:06AM UTC by comment:1
| resolution: | → invalid | 
|---|---|
| status: | new → closed | 
Please reopen with a complete test case including code and html.