Skip to main content

Bug Tracker

Side navigation

#6548 closed bug (worksforme)

Opened May 07, 2010 07:33PM UTC

Closed May 08, 2010 02:11AM UTC

.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

If I do:

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

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

Attachments (0)
Change History (1)

Changed May 08, 2010 02:11AM UTC by dmethvin comment:1

description: \ If I do: \ \ $("textarea").attr('spellcheck', 'false'); \ \ then inspect the textarea (with firebug), I see that spellcheck is in fact set to *true*. \ \ If I do: \ \ $("textarea").attr('spellcheck', 'false'); \ \ then inspect the textarea (with firebug), I see that spellcheck is in fact set to *true*. \ \
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.