Tagged: JavaScript

javascript tutorials

Dynamically Add/Remove Options From Select JavaScript

This tutorial shows how to get, add and remove options form a select/dropdown using plain JavaScript. We demonstrate this with the following example. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Dynamically add/remove options select...
javascript tutorials

How to Call JavaScript Function on Page Load

This tutorial shows how to call a javascript function on page load using various plain JavaScript functions and using JQuery on document ready. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Call JavaScript Function on...
javascript tutorials

How to prevent number input in JavaScript/JQuery

This tutorial demonstrates how to prevent number input on a textfield using JavaScript/JQuery. This example prevents number input from the numpad and the numbers above the keyboard. Prevent number input using plain javascript, with...