I have this code to prevent people entering '£' into a textbox
jQuery(document).ready(function(){
jQuery('#cp_price').keypress(function(e){
if(e.keyCode == 163){
alert("Exclude the £ sign");
return false;
}
});
});
It works in all browsers except Firefox. Any reason why this wouldn't work?