I don't think your code works. I don't want to alert the user about the height. I want to have it available, whether in a hidden field or not.
Therefore, I need a trigger that allows me to call javascript at the client so I can stuff the height into a hidden var.
How do I do that? What trigger is fired when the height is changed by the user clicking the "+" or "-" button?