How to disable all the elements of a form using JavaScript
Here's a little JavaScript function that disables all form elements: As you may have noticed, the only parameter you need to pass is the form name.
Read articleWriting 52 posts
Notes on programming, software design, and the occasional unexpected discovery.
Here's a little JavaScript function that disables all form elements: As you may have noticed, the only parameter you need to pass is the form name.
Read articleIn Java it is possible to retrieve the number of columns in a ResultSet dynamically, thanks to the ResultSetMetaData class. Here's an example: The previous code retrieves and displays the…
Read articleThere are whole books about regular expressions, so this post isn't intended to be an exhaustive resource on the subject. It simply shows how to extract a substring from a string using…
Read articleMany sources use the term timestamp to refer specifically to Unix time, the number of seconds since 00:00:00 UTC on January 1, 1970. In JavaScript you can use the built-in object Date to…
Read article