I have the following structure.
<div id="cabecalho">
<span data-bind="attr: { id: solicitacao.numero}"></span>
<div>
where, request returns a number from 1 to 10 I would like to add a class according to the number.
Example:
if( span == 1 )
{
$("cabecalho").children.addClass( "teste1" );
}