Skip to main content

Bug Tracker

Side navigation

#13536 closed bug (notabug)

Opened February 28, 2013 03:31PM UTC

Closed February 28, 2013 03:47PM UTC

Problem with .prop()

Reported by: jwa@garaio.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hi.

We have a problem with the .prop() method and are sure this is a bug. The following Example demonstrates that case:

http://jsfiddle.net/crgb7/2/

What is the difference if it is a div or input tag? Anyway 'name' isnt a valid DOM Property, so im sure in both cases it should be possible to retrieve the value of 'name'

Attachments (0)
Change History (1)

Changed February 28, 2013 03:47PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

divs don't have a name property and inputs do. If you want the string specified in the **attribute** then use .attr(). Followups to the forum or StackOverflow please.