Title: Request for getElementStyle() and getFieldStyle() Post by: Candy M. on December 06, 2008, 06:48:16 am I'm experimenting with setting the style dynamically in an INPUT
statement in order to visually show the fields in error (have an style called "error"). If a field or element has more than one style, I would want to append the "error" style to the existing styles of the form field, then at the end, I will remove the "error" style so hopefully the field goes back to normal. In order to do that, it would be nice to have a getElementStyle() and getFieldStyle() method. I can get the existing style but it is not that elegant of code. Candy McCall |