I'm trying to make a red border on field elements on validation error. I have this css class:

```
.txsignupRed {
     border: 1px solid #ff5555;
}

```

Adding the above class to a `textfield` works fine:

```
$( "#id_of_some_textfield" ).addClass( "txsignupRed" );

```

But doing the same to a `select` does not:

```
$( "#id_of_some_selectfield" ).addClass( "txsignupRed" );
$( ".some-select-class" ).addClass( "txsignupRed" );

```

But this does for some reason:

```
$(".some-select-class").css('border', "1px solid #ff5555");

```

I would also like to reference the `select` by id, not by class. How can I make it work?

Fiddle: <http://jsfiddle.net/q3v83zzz/>