Bug Tracker

Modify

Ticket #11414 (closed bug: invalid)

Opened 16 months ago

Last modified 16 months ago

fn.alphanumeric not working for multiple controls

Reported by: srkmydm@… Owned by:
Priority: low Milestone: None
Component: misc Version:
Keywords: Cc:
Blocking: Blocked by:

Description

Hi,

In my page I have two textboxes say "Address Line 1" & "Address Line 2". For both textboxes, I have added a client selector as "addresstext" & set the allowed characters as below:

$('input[ClientSelector=addresstext]').alphanumeric({ allow: "#-'., " });

In the first textbox "Address Line 1", pipe(|) & backward slash (\) are restricted, which is correct. But in the second textbox, "Address Line 2" it is allowing pipe & backward slash to enter.

Change History

comment:1 Changed 16 months ago by sindresorhus

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to misc

Thanks for submitting a ticket to the jQuery Bug Tracker. This bug tracker is not a support forum, and is only for solving reproducible, verifiable bugs with jQuery Core itself.

It looks like you're using a jQuery plugin. Try asking the author of that plugin instead.

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.