Bug Tracker

Modify

Ticket #5061 (closed bug: worksforme)

Opened 5 years ago

Last modified 4 years ago

$.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:
Blocking: Blocked by:

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.

Attachments

JQattrTest.php Download (290 bytes) - added by busstation16 5 years ago.
test file

Change History

Changed 5 years ago by busstation16

test file

comment:1 Changed 5 years ago by busstation16

worked fine use my test file. Can you provide your example and your OS?

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme
  • Component changed from unfiled to attributes

Works for me as well.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.