Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6548 closed bug (worksforme)

.attr() not setting "spellcheck" correctly to "false"

Reported by: perldashw Owned by:
Priority: Milestone: 1.4.2
Component: attributes Version: 1.4.2
Keywords: spellcheck Cc:
Blocked by: Blocking:

Description (last modified by dmethvin)

If I do:

$("textarea").attr('spellcheck', 'false');

then inspect the textarea (with firebug), I see that spellcheck is in fact set to *true*.

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Description: modified (diff)
Resolution: worksforme
Status: newclosed

As this page says, spellcheck is a bit of an oddball:

http://blog.whatwg.org/the-road-to-html-5-spellchecking#history

However, $("textarea").attr('spellcheck', false) (with a boolean value) works fine.

Note: See TracTickets for help on using tickets.