Bug Tracker

Opened 8 years ago

Closed 8 years ago

#11022 closed bug (invalid)

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

Reported by: tobias.seidler@… 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

Change History (1)

comment:1 Changed 8 years ago by timmywil

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.

Note: See TracTickets for help on using tickets.