Side navigation
#4885 closed bug (invalid)
Opened July 11, 2009 02:00PM UTC
Closed July 11, 2009 02:04PM UTC
Last modified July 12, 2009 07:21PM UTC
.value('hello') fails when .attr('value', 'hello') works...
Reported by: | sixtymonkey | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | attr value | Cc: | |
Blocked by: | Blocking: |
Description
When I use .value (after apending to the DOM) then I get the error: $("<input />").attr("type", "hidden").attr("name", "blogid").appendTo(li).value is not a function
. When I use .attr then the script works. I have attached a working version.
I think you mean .val().