lnbits-legend/LNbits/static/dist/js/calc.js
2019-12-12 23:11:30 +00:00

10 lines
No EOL
287 B
JavaScript

$(document).ready(function () {
$('.num').click(function () {
var num = $(this);
var text = $.trim(num.find('.txt').clone().children().remove().end().text());
var telNumber = $('#telNumber');
$(telNumber).val(telNumber.val() + text);
});
});