Jquery numeric keypad input issue
<p>I'm trying to put a comma "," in a javascript numeric keypad.  see code below</p>

<pre><code> /*!
* JQFNumKeypad
* http://www.jqueryfun.com/
*/
(function($) {
  $.fn.JQFNumKeypad = function(options) {

    // Defaults
    var defaults = {
      fadeSpeed: 400,
      clearText: 'Clear'
    };

    // Extend options
    var options = $.extend(defaults, options);

    // Show keypad on document click / Focus First
    $(document).click(function() {$('.jqfnumkeypad').show();});
    $(document).ready(function(){$('input').first().focus();});

    // Loop each instance
    return this.each(function() {

      // Instance
      var instance = $(this);

      // Keypad layout
      var keypad = '&lt;div id="jqfnumkeypad_' + instance.attr('name') + '" class="jqfnumkeypad"&gt;&lt;div class="jqfnumkeypad_keypad"&gt;&lt;table width="100%" cellpadding="0" cellspacing="0"&gt;';
      for(var i = 1; i &lt;= 9; i++) {
        if((i-1)%3 == 0) keypad += '&lt;tr&gt;';
        keypad += '&lt;td class="jqfnumkeypad_digit"&gt;' + i + '&lt;/td&gt;';
        if(i%3 == 0) keypad += '&lt;/tr&gt;';
      }
      keypad += '&lt;tr&gt;&lt;td class="jqfnumkeypad_digit"&gt;0&lt;/td&gt;&lt;td class="jqfnumkeypad_clear"&gt;' + options.clearText + '&lt;/td&gt;&lt;td class="jqfnumkeypad_coma"&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;';
      $(keypad).insertAfter(instance).css({right: 0, top: instance.position().top});

      // Prevent hide on click
      instance.click(function(e) {e.stopPropagation();});

      // Define on focus event
      instance.focus(function() {
        $('#jqfnumkeypad_' + instance.attr('name')).css('z-index', '99').fadeIn(options.fadeSpeed, function() {
          // Digit click
          $('#jqfnumkeypad_' + instance.attr('name') + ' .jqfnumkeypad_digit').unbind().bind('click', function(e) {
          if(instance.attr('maxlength') == -1 || instance.val().length &lt; instance.attr('maxlength')) instance.val(instance.val() + parseFloat($(this).html()));
            e.stopPropagation();
          });
          // Clear click
          $('#jqfnumkeypad_' + instance.attr('name') + ' .jqfnumkeypad_clear').unbind().bind('click', function(e) {
            instance.val('');
            e.stopPropagation();
          });
          // Coma click
          $('#jqfnumkeypad_' + instance.attr('name') + ' .jqfnumkeypad_coma').unbind().bind('click', function(e) {
            if(instance.attr('maxlength') == -1 || instance.val().length &lt; instance.attr('maxlength')) instance.val(instance.val() + $(this).html());
            e.stopPropagation();
          });

        }).siblings('div').css('z-index', '0');
        // Blur to prevent instance events
        instance.blur();
      });
    });
  }
})(jQuery);
</code></pre>

<p>Can anyone help me fix the issue? 
currently when you press the comma button, it clears the input field.
I need the comma since the input needed is on follows the european currency format</p>
