Opened 10 years ago
Closed 10 years ago
#13536 closed bug (notabug)
Problem with .prop()
Reported by: | 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:
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'
Note: See
TracTickets for help on using
tickets.
div
s don't have aname
property andinput
s do. If you want the string specified in the attribute then use.attr()
. Followups to the forum or StackOverflow please.