Skip to main content

Bug Tracker

Side navigation

#11512 closed bug (duplicate)

Opened March 25, 2012 10:23AM UTC

Closed March 28, 2012 09:34PM UTC

Last modified March 28, 2012 09:34PM UTC

$(this).attr('id')

Reported by: vladimir@vingrad.ru Owned by: vladimir@vingrad.ru
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

In 1.7.2, alert($(this).attr('id')); will output [Object], but same code works fine in 1.7.1 (output the string ID)

Attachments (0)
Change History (5)

Changed March 25, 2012 02:14PM UTC by sindresorhus comment:1

owner: → vladimir@vingrad.ru
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed March 26, 2012 09:48PM UTC by anonymous comment:2

I can not reproduce this bug with jsfiddle.

Bug alert($('#'+areaId).attr('editor')); print [object Object] too.

Changed March 28, 2012 09:34PM UTC by rwaldron comment:3

Can you list here all the other scripts or jQuery Plugins you're using in your code? Thanks!

Changed March 28, 2012 09:34PM UTC by rwaldron comment:4

resolution: → duplicate
status: pendingclosed

Changed March 28, 2012 09:34PM UTC by rwaldron comment:5

Duplicate of #11527.