Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Request for getElementStyle() and getFieldStyle()  (Read 7628 times)
Candy M.
Posts: 139


« 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
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines