Bug Tracker

Modify

Ticket #11512 (closed bug: duplicate)

Opened 15 months ago

Last modified 15 months ago

$(this).attr('id')

Reported by: vladimir@… Owned by: vladimir@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

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)

Change History

comment:1 Changed 15 months ago by sindresorhus

  • Owner set to vladimir@…
  • Status changed from new to pending

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.

comment:2 Changed 15 months ago by anonymous

I can not reproduce this bug with jsfiddle. Bug alert($('#'+areaId).attr('editor')); print [object Object] too.

comment:3 Changed 15 months ago by rwaldron

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

comment:4 Changed 15 months ago by rwaldron

  • Status changed from pending to closed
  • Resolution set to duplicate

comment:5 Changed 15 months ago by rwaldron

Duplicate of #11527.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.