Reputation: 37494
I have an input element with readonly
set to true ("readonly"
). However, when I try to apply a hover effect in jQuery, no results are seen.
Any ideas?
Upvotes: 0
Views: 464
Reputation: 1399
maybe removing readonly on mouseenter, adding it again on mouseleave. Example: http://jsfiddle.net/8X86r/2/
Upvotes: 0
Reputation: 10315
the problem is your selector
change $('.input')
into $('input')
and it works
Upvotes: 1