Skip to main content

Bug Tracker

Side navigation

#8900 closed bug (wontfix)

Opened April 18, 2011 09:09AM UTC

Closed April 18, 2011 02:55PM UTC

Last modified March 14, 2012 07:23PM UTC

.attr and IE

Reported by: ilya.iz@kttsoft.com Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

JQuery function .attr does not works under IE, when attribute is event like .attr("onchange","alert('Hello event onchange!')"); . It is because IE does not understand this. You can check, if attribute is event, make eval function if IE.

Attachments (0)
Change History (2)

Changed April 18, 2011 02:55PM UTC by timmywil comment:1

component: unfiledevent
priority: undecidedlow
resolution: → wontfix
status: newclosed

There are many issues under the surface that jQuery deals with in its event module. Please use .change to attach change events. For a full list of events and how to use them, see http://api.jquery.com/category/events/. Concerning the issue with attr, I don't think this is something we want to tackle.

Changed April 19, 2011 06:25AM UTC by anonymous comment:2

Replying to [comment:1 timmywil]:

There are many issues under the surface that jQuery deals with in its event module. Please use .change to attach change events. For a full list of events and how to use them, see http://api.jquery.com/category/events/. Concerning the issue with attr, I don't think this is something we want to tackle.

Sometime, i need insert in attribute event, without JQuery.change function! And it is normal, when users insert into event's attributes javascript code!