Side navigation
#5061 closed bug (worksforme)
Opened August 17, 2009 02:37PM UTC
Closed June 13, 2010 04:30PM UTC
$.attr fails on input element in Firefox 3.5.2
Reported by: | kungtiger | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | attributes | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi there,
First I create a input field:
var test = $('<input type="text" name="test">').appendTo('body');
Then I want to disable it via
test.attr('disabled', 'disabled');
but it does not work at all.
I have tried the exampel 'How do I disable/enable an element?' shown in the FAQ and it worked well, but every time I want to alter a jQuery generated input attribute it fails.
worked fine use my test file. Can you provide your example and your OS?