Hi ,
how can I dynamically set the class of a form item ?
I want set the class for item “form_input_usr” to “readm”.
Thank you
Hi ,
how can I dynamically set the class of a form item ?
I want set the class for item “form_input_usr” to “readm”.
Thank you
you can use something like
var input = myForm.getInput("form_input_dateemail");
input.parentNode.className = "a";
thanks a lot
This Works fine but
if I use position :“absolute” in the form , I lose the position of input field
you have any suggestions ?
Change the style setting line like next
input.parentNode.className = "dhxform_control a";
excellent !
Great Stanislav !
Again thanks a lot