views:

36

answers:

1

I'm using the cool jquery airport plugin and trying to make it accept special characters (like accents, "&", etc.). By default it only works with a-z.

Has anybody found how to do that ?

+1  A: 

There is a chars array that you can add characters to.

var chars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', ' ', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '-'];

Doing this should be enough.

PS: Sometimes, looking at the source code of a program can be really enlightening. ;-)

Tomalak
Yep, I did that soon enough, unfortunately it doesn't seem to work.
mike23