What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-05 04:11:05
how to convert entered number into currency in words in javascript
var a = ['','one ','two ','three ','four ', 'five ','six ','seven ','eight ','nine ','ten ','eleven ','twelve ','thirteen ','fourteen ','fifteen ','sixteen ','seventeen ','eighteen ','nineteen ']; var b = ['', '', 'twenty','thirty','forty','fifty', 'sixty... Add solution -
Html 2021-10-04 08:03:08
form filling progress bar html5
$("#form input").keyup(function() { var numValid = 0; $("#form input[required]").each(function() { if (this.validity.valid) { numValid++; } }); var progress = $("#progress"), progressMessage = $(&q... Add solution -
Javascript 2021-10-03 22:42:03
jstree search example
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>Simple jsTree</title> <link rel="stylesheet" href=&quo... Add solution -
Other 2021-10-03 16:47:04
wpf combobox filter as you type
private void comboBox_KeyUp(object sender, KeyEventArgs e) { var combobox = (ComboBox)sender; var ctb = combobox.Template.FindName("PART_EditableTextBox", combobox) as TextBox; if (ctb == null) return; if (Keyboard.Modifiers.HasF... Add solution -
Javascript 2021-10-03 09:33:04
number validation in jquery
// Restricts input for the set of matched elements to the given inputFilter function. (function($) { $.fn.inputFilter = function(inputFilter) { return this.on("input keydown keyup mousedown mouseup select contextmenu drop", function() { ... Add solution -
VBA 2021-10-02 01:48:03
move player with keyboard with boundaries vb.net
'Note: before I did the code, I added 2 labels, 4 timers '(names are "tmrRight", "tmrleft", "tmrUp", and "tmrDown") 'and 3 pictureboxes (one of which is named "pbPlayer") 'the 2 labels and 2 pictureboxe... Add solution -
Other 2021-10-01 02:33:04
how to disable up and down arrow downscroll for a website
var keys = {}; window.addEventListener("keydown", function(e){ keys[e.keyCode] = true; switch(e.keyCode){ case 37: case 39: case 38: case 40: // Arrow keys case 32: e.preventDefault(); break; // Space... Add solution