I'm having a bit of a problem here. I'm using a JavaScript Library to filter inputs for a inputField. It works fine so far, only the allowed charackters are entered. But if the User presses AltGr (right alt || CTRL+ALT) he is still able to enter special charackters like @,€,[ and so on. Is there any way to restrict this? I tried the event.preventDefault(); way on doing this with keydown(); but it didn't work...
Here's the tiny snippet I'm using for my input filter:
$(".field").filter_input({ regex: '[a-zA-Z0-9]' });
This is the link to the jQ-Plugin I'm using: http://www.thimbleopensource.com/tutorials-snippets/jquery-plugin-filter-text-input