You could also use a regular expression to strip out the non-digit characters. var str = window.document.myform.RMList.value; var ns = str.replace(/\D/ig,""); > >I have tried the > >alert ( isNaN(parseInt(window.document.myform.RMList.value)) ); > >to figure this out. > >but it will allow me to enter this "11dd44" >this is not a number > >so what gives? _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript