I am trying to integrate knockout verification and twitter loading in this editor: http://jsfiddle.net/casudeo/Jbp7y/18
I would like to use twitter bootstrap css to input errors. To do this, I need to somehow "approach" the div of the control group and add the "error" class to it. Is there a way to achieve this without modifying the css files?
Further clarification due to the Dominican comment below: 1) Click the "Add" button to add a new item. 2) Try to save with empty values. 3) Validation of KO will catch invalid entries. However, I would also like to apply the "error" css class to highlight invalid fields.
source share