#9877 closed feature (wontfix)
documentation FAQ has some old examples.
Reported by: | anonymous | Owned by: | addyosmani |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | web | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
where: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_disable.2Fenable_a_form_element.3F
for the question "How do I disable/enable a form element?", examples use ".attr" method instead of ".prop" method as preferred in the new jquery 1.6.1 ( http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/)
IE:
Disable #x
$('#x').attr('disabled', true); should use prop Enable #x $('#x').attr('disabled', false); should use prop
and there are probably more like this in this page!
Change History (4)
comment:1 Changed 12 years ago by
Component: | unfiled → web |
---|---|
Keywords: | needsdocs added |
Owner: | set to addyosmani |
Priority: | undecided → low |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Type: | enhancement → feature |
---|
Bulk change from enhancement to feature.
comment:3 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Thanks for contributing! The entire old docs site is going away shortly, and with it, this bug!
comment:4 Changed 10 years ago by
Keywords: | needsdocs removed |
---|
Thanks for alerting us about this. We've discussed how we might approach updating the FAQ as there's a need for us to maintain jQuery 1.4 on that particular subdomain, however we feel that perhaps sticking the examples up on jsFiddle would allow us to provide examples across multiple/different versions. I'll take a look into updating this page soon.