L
L
Legioner9112015-10-15 17:17:15
JavaScript
Legioner911, 2015-10-15 17:17:15

Overwrite values ​​returned by jQuery?

onSelect: function(suggestion) {
console.log(suggestion);
$('.md-state-status').text(suggestion.data.state.status); //возвращает дату и выводит ACTIVE или LIQUIDATING  или LIQUIDATED 
   }
});


<td class="tablles-cell3"><p class="md-state-status">ACTIVE</p></td> <!-- уже исполненный -->


How to reassign ACTIVE to "active" , LIQUIDATING to "liquidated" , LIQUIDATED to "liquidated".

<td class="tablles-cell3"><p class="md-state-status">действующая</p></td> <!-- Как сделать так-->


Sincerely ! Thanks in advance !

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question