Click here to Skip to main content
15,887,485 members
Home / Discussions / JavaScript
   

JavaScript

 
Questioni am using console.log() in my code. Pin
DeepthiTanguturi15-Feb-12 18:27
DeepthiTanguturi15-Feb-12 18:27 
AnswerRe: i am using console.log() in my code. Pin
thatraja15-Feb-12 19:29
professionalthatraja15-Feb-12 19:29 
AnswerRe: i am using console.log() in my code. Pin
DaveAuld19-Feb-12 0:59
professionalDaveAuld19-Feb-12 0:59 
Questionattr disabled property is not working for FF Pin
dayakar_dn12-Feb-12 19:35
dayakar_dn12-Feb-12 19:35 
AnswerRe: attr disabled property is not working for FF Pin
Graham Breach12-Feb-12 22:46
Graham Breach12-Feb-12 22:46 
AnswerRe: attr disabled property is not working for FF Pin
Mohibur Rashid14-Feb-12 5:53
professionalMohibur Rashid14-Feb-12 5:53 
GeneralRe: attr disabled property is not working for FF Pin
ramuAlla1-Mar-12 1:15
ramuAlla1-Mar-12 1:15 
AnswerRe: attr disabled property is not working for FF Pin
Ed Nutting19-Feb-12 0:34
Ed Nutting19-Feb-12 0:34 
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 Pin
DeepthiTanguturi10-Feb-12 22:02
DeepthiTanguturi10-Feb-12 22:02 
AnswerRe: How can i use backbone.js Pin
Richard MacCutchan10-Feb-12 23:50
mveRichard MacCutchan10-Feb-12 23:50 
Questionpage loading Pin
Member 79044828-Feb-12 20:22
Member 79044828-Feb-12 20:22 
QuestionNeed Help Setting <img> src attribute Pin
PianoMan7-Feb-12 5:26
PianoMan7-Feb-12 5:26 
AnswerRe: Need Help Setting src attribute Pin
Dean Oliver7-Feb-12 6:40
Dean Oliver7-Feb-12 6:40 
GeneralRe: Need Help Setting src attribute Pin
PianoMan7-Feb-12 16:24
PianoMan7-Feb-12 16:24 
GeneralRe: Need Help Setting src attribute Pin
Dean Oliver7-Feb-12 21:56
Dean Oliver7-Feb-12 21:56 
AnswerRe: Need Help Setting src attribute Pin
Mohibur Rashid7-Feb-12 18:12
professionalMohibur Rashid7-Feb-12 18:12 
AnswerRe: Need Help Setting src attribute Pin
twseitex19-Feb-12 2:50
twseitex19-Feb-12 2:50 
QuestionImages Won't display in IE 7 Pin
PianoMan5-Feb-12 6:27
PianoMan5-Feb-12 6:27 
AnswerRe: Images Won't display in IE 7 Pin
Richard MacCutchan5-Feb-12 23:23
mveRichard MacCutchan5-Feb-12 23:23 
GeneralRe: Images Won't display in IE 7 Pin
PianoMan6-Feb-12 4:15
PianoMan6-Feb-12 4:15 
GeneralRe: Images Won't display in IE 7 Pin
Richard MacCutchan6-Feb-12 4:30
mveRichard MacCutchan6-Feb-12 4:30 
GeneralRe: Images Won't display in IE 7 - SOLVED Pin
PianoMan6-Feb-12 4:43
PianoMan6-Feb-12 4:43 
GeneralRe: Images Won't display in IE 7 - SOLVED Pin
Richard MacCutchan6-Feb-12 5:31
mveRichard MacCutchan6-Feb-12 5:31 
AnswerRe: Images Won't display in IE 7 Pin
jsc4214-Feb-12 3:41
professionaljsc4214-Feb-12 3:41 
AnswerRe: Images Won't display in IE 7 Pin
twseitex19-Feb-12 2:59
twseitex19-Feb-12 2:59 

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

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