Skip to main content

Bug Tracker

Side navigation

#11516 closed bug (duplicate)

Opened March 26, 2012 10:48AM UTC

Closed March 27, 2012 11:20AM UTC

Last modified March 28, 2012 09:34PM UTC

.attr('value') returns object instead of value

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

$('input#id').attr('value') returns object instead of value

Attachments (0)
Change History (10)

Changed March 26, 2012 12:06PM UTC by rwaldron comment:1

#11518 is a duplicate of this ticket.

Changed March 26, 2012 04:14PM UTC by rwaldron comment:2

owner: → anonymous
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 begin.

Changed March 26, 2012 09:45PM UTC by anonymous comment:3

status: pendingnew

please make bugfix.

Changed March 26, 2012 09:55PM UTC by anonymous comment:4

this bug has something with content load via ajax.

Changed March 26, 2012 09:56PM UTC by rwaldron comment:5

resolution: → invalid
status: newclosed

This is not a jQuery bug - I'm closing for now. If you can reproduce this issue in a jsfiddle, please post back and we will be happy to look at it.

Changed March 27, 2012 10:17AM UTC by sindresorhus comment:6

resolution: invalid
status: closedreopened

Changed March 27, 2012 10:17AM UTC by sindresorhus comment:7

Duplicate of #11527.

Changed March 27, 2012 11:20AM UTC by sindresorhus comment:8

resolution: → duplicate
status: reopenedclosed

Changed March 27, 2012 11:20AM UTC by sindresorhus comment:9

Duplicate of #11527.

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

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