Click here to Skip to main content

JavaScript

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
AnswerRe: i am using console.log() in my code. Pinmvpthatraja19:29 15 Feb '12  
AnswerRe: i am using console.log() in my code. PinmentorDaveAuld0:59 19 Feb '12  
Questionattr disabled property is not working for FF Pinmemberdayakar_dn19:35 12 Feb '12  
AnswerRe: attr disabled property is not working for FF PinmemberGraham Breach22:46 12 Feb '12  
AnswerRe: attr disabled property is not working for FF Pinmemberjohny101519815:53 14 Feb '12  
GeneralRe: attr disabled property is not working for FF PinmemberramuAlla1:15 1 Mar '12  
AnswerRe: attr disabled property is not working for FF PinmemberEdward Nutting0:34 19 Feb '12  
The code you are using has always worked for me so not sure what's wrong but as a point, the second one in your list is the correct one. If you are trying to enable the check boxes again you will have to use the removeAttr method as W3 standards say that the mere presence of the disabled attribute means the control is disabled, regardless of value (which some of the major browsers follow).
 
As for why your check boxes don't disable I can only suggest that IE and FF are handling your HTML differently (check Id's are the same, that you are only trying to set the disabled attribute after full page load (use $(document).ready if you aren't!) etc. etc.)
 
Hope this helps,
Ed
QuestionHow can i use backbone.js PinmemberDeepthiTanguturi22:02 10 Feb '12  
AnswerRe: How can i use backbone.js PinmvpRichard MacCutchan23:50 10 Feb '12  
Questionpage loading [modified] PinmemberMember 790448220:22 8 Feb '12  
QuestionNeed Help Setting src attribute PinmemberPianoMan5:26 7 Feb '12  
AnswerRe: Need Help Setting src attribute PinmemberDean Oliver6:40 7 Feb '12  
GeneralRe: Need Help Setting src attribute PinmemberPianoMan16:24 7 Feb '12  
GeneralRe: Need Help Setting src attribute PinmemberDean Oliver21:56 7 Feb '12  
AnswerRe: Need Help Setting src attribute Pinmemberjohny1015198118:12 7 Feb '12  
AnswerRe: Need Help Setting src attribute Pinmembertwseitex2:50 19 Feb '12  
QuestionImages Won't display in IE 7 PinmemberPianoMan6:27 5 Feb '12  
AnswerRe: Images Won't display in IE 7 PinmvpRichard MacCutchan23:23 5 Feb '12  
GeneralRe: Images Won't display in IE 7 PinmemberPianoMan4:15 6 Feb '12  
GeneralRe: Images Won't display in IE 7 PinmvpRichard MacCutchan4:30 6 Feb '12  
GeneralRe: Images Won't display in IE 7 - SOLVED PinmemberPianoMan4:43 6 Feb '12  
GeneralRe: Images Won't display in IE 7 - SOLVED PinmvpRichard MacCutchan5:31 6 Feb '12  
AnswerRe: Images Won't display in IE 7 Pinmemberjsc423:41 14 Feb '12  
AnswerRe: Images Won't display in IE 7 Pinmembertwseitex2:59 19 Feb '12  
QuestionProblem with args.isValid in JS [modified] Pinmemberdayakar_dn22:14 1 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid