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

Writing 52 posts

The blog

Notes on programming, software design, and the occasional unexpected discovery.

JavaScript1 Sept 2006

How to hide/show an HTML form element depending on a combo box choice

This is an example of how you can show/hide an HTML form element depending on a combo box choice. Put the following JavaScript code inside your section (or within a .js file if you prefer).…

Read article ↗
Java21 Aug 2006

POJO (Plain Old Java Object): The simpler...the better.

A POJO is simply an object built using a Java class that does not implement any special interfaces such as those defined by the EJB 2 framework. An example of a POJO is a class containing…

Read article ↗
JavaScript27 Jul 2006

Calling a function of the opener window

Using JavaScript, you can call a function in the opener window: the window that opened the current window by calling window.open. Here is the code: First, it checks whether the opener…

Read article ↗
JavaScript24 Jul 2006

Creating a class definition in JavaScript

There are different ways to define classes in JavaScript. However, this is the most widely used and accepted at the moment:

Read article ↗
← Newer posts
Page 11 of 13
Older posts →
Alessandro Lacava

Software, words, and the ideas in between.

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