hello this code

    a=form.elements('#trabalhador_val_formacao__label')

    a[0]['_class'] = 'label label-warning'


only appends to the existing class in the label.


I want to replace existing label class with another one

how do i do it?


Thank you
António

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to