I need to allow users to input onlu numeric characters into two text boxes which are using different ID's.
$('#signup-phone-number').keyup( function() {
$(this).numeric();
});
That code above is what I currently have. now i tried to change that to:
$('#signup-phone-number', '#mobile-number').keyup( function() {
$(this).numeric();
});
The code above is not working. I just need to use Id's. no classes.
How I can do this please?