Skip to main content

Bug Tracker

Side navigation

#11022 closed bug (invalid)

Opened December 14, 2011 09:40AM UTC

Closed December 14, 2011 02:51PM UTC

.is(":valid") does not work on multiple objects selector

Reported by: tobias.seidler@googlemail.com Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

when doing the following command, Firebug returns

Syntax error, unrecognized expression: valid

(16 out of range 4)

The command:

$("input[type=text]").is(":valid")

The same works fine when selecting a single object by id:

$("#someInput").is(":valid");

I don't know if that is a bug at all, but it would be great to use some command like this to check the validity of all inputs in one command. So it actually has to return false if one isn't valid. Or is there already a way to do this?

Thanks, Tobias

Attachments (0)
Change History (1)

Changed December 14, 2011 02:51PM UTC by timmywil comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

:valid is not a supported jQuery selector. You may be having an issue with a validation plugin.