Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#8966 closed bug (worksforme)

$(this).val() is not working in Mozilla

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.next
Component: manipulation Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Description

I have used this in JQuery to fetching value of this. Its working fine in IE6 and 7 but not working in Mozilla and IE9.

Change History (3)

comment:1 Changed 8 years ago by addyosmani

Component: unfiledmanipulation
Resolution: worksforme
Status: newclosed

Thanks for submitting a ticket to the jQuery Project. Please see here for a test case on jsFiddle.net which I've verified as working correctly in both Firefox 4, 3.6 and Internet Explorer 9: http://jsfiddle.net/addyosmani/H5HkJ/. We'll be closing this ticket as there is nothing wrong with .val(), however if you have further information you would like to add, a member of our team will periodically be checking for updates to closed tickets to review changes.

comment:2 Changed 7 years ago by anonymous

Yes, there is a bug. Whether or not you see it depends on which control "this" refers to.

comment:3 Changed 7 years ago by Rick Waldron

@anonymous prove it. Create a test case and post it here. http://jsfiddle.net/FrKyN/

Note: See TracTickets for help on using tickets.