Skip to main content

Bug Tracker

Side navigation

#9877 closed feature (wontfix)

Opened July 21, 2011 12:49AM UTC

Closed September 09, 2012 04:54AM UTC

Last modified September 09, 2012 04:55AM UTC

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!

Attachments (0)
Change History (4)

Changed July 21, 2011 06:21AM UTC by addyosmani comment:1

component: unfiledweb
keywords: → needsdocs
owner: → addyosmani
priority: undecidedlow
status: newassigned

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.

Changed September 09, 2012 01:11AM UTC by dmethvin comment:2

type: enhancementfeature

Bulk change from enhancement to feature.

Changed September 09, 2012 04:54AM UTC by mikesherov comment:3

resolution: → wontfix
status: assignedclosed

Thanks for contributing! The entire old docs site is going away shortly, and with it, this bug!

Changed September 09, 2012 04:55AM UTC by mikesherov comment:4

keywords: needsdocs