Mohammed Mansori
Results
1
comments of
Mohammed Mansori
$('#someTextBox').change(function() { $('#someOutput').text(creditCardTypeFromNumber($(this).val())); }); This will output into some element with id="someOutput" the result of the text box which fires when the user changes the text in the element id="someTextBox".