Related questions
How to autosize a textarea using Prototype?
I'm currently working on an internal sales application for the company I work for, and I've got a form that allows the user to change the delivery address.
Now I think it would look much nicer, if the textarea I'm …
Testing the type of a DOM element in JavaScript
Is there a way to test the type of an element in JavaScript?
The answer may or may not require the prototype library, however the following setup does make use of the library.
function(event) {
var element = event.element();
// if …