/* jQuery Plugins */

$.fn.onlyNumbers = function () {
    this.keydown(function (event) {
        // Allow: backspace, delete, tab, escape, enter and .
        if ($.inArray(event.keyCode, [110, 44, 46, 8, 9, 27, 13, 190]) !== -1 ||
            // Allow: Ctrl+A
            ((event.keyCode == 65 || event.keyCode == 69 || event.keyCode == 67 || event.keyCode == 86) && event.ctrlKey === true) ||
            // Allow: home, end, left, right
            (event.keyCode >= 35 && event.keyCode <= 39)) {
            // let it happen, don't do anything
            return;
        }
        else {
            // Ensure that it is a number and stop the keypress
            if (event.shiftKey || (event.keyCode < 48 || event.keyCode > 57) && (event.keyCode < 96 || event.keyCode > 105)) {
                event.preventDefault();
            }
        }
    });
};

/* Sample usage 
	<input type="text" class="form-control custom-numeric="true" input-lg" id="myNumericText1">
	<input type="text" class="form-control custom-numeric="true" input-lg" id="myNumericText2">
	
	$(function(){
		$('input[custom-numeric="true"]').onlyNumbers(); //apply to all inputs with custom attribute custom-numeric="true"
	});
	
*/

@@ -903,32 +903,42 @@
 ss=%22form-control
+ input-lg%22
  custom-numeric=
@@ -939,34 +939,24 @@
 meric=%22true%22
- input-lg%22
  id=%22myNumer
@@ -1004,16 +1004,26 @@
 -control
+ input-lg%22
  custom-
@@ -1036,26 +1036,16 @@
 c=%22true%22
- input-lg%22
  id=%22myN

Fix the sample