Skip to content
Alessandro Lacava
  • Home
  • Blog
  • Articles
  • Talks

Category 14 posts

JavaScript

Writing about JavaScript.

JavaScript14 Jun 2006

The Function class in JavaScript

Most programmers know how to define and use a function in JavaScript. For example, the following function displays an alert containing the string passed in as a parameter: How many…

Read article ↗
JavaScript12 May 2006

Using JavaScript to detect the key pressed

Often it is useful to intercept the key pressed within an element of an HTML form, such as a text box. For this purpose you can use JavaScript to extract the code of the key that was…

Read article ↗
← Newer posts
Page 4 of 4
Alessandro Lacava

Software, words, and the ideas in between.

GitHub ↗LinkedIn ↗X / Twitter ↗Email ↗
© 2026 Alessandro Lacava
RSS feedPrivacy and cookies