![sonrisota](http://static.forosdelweb.com/fdwtheme/images/smilies/xD.png)
<script language="javascript">
<!--
function LP_data(){
var key=window.event.keyCode;
if (key < 48 || key > 57){
window.event.keyCode=0;
}}
-->
</script>
el problema es qu ahora necesito lo mismo pero que me acepte el caracterer
"-" y la "k".
me podrian ayudar por favor
trate de esta forma
<script language="javascript">
<!--
function LP_data(){
var key=window.event.keyCode;
if (key < 48 || key >57) ||(key = 45) ||(key =107) ||(key =75)
window.event.keyCode=0;
}}
-->
</script>
pero no me pesca,
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
alguien sabe por que