1
I own a <form>
in which I return information I consulted in the comic book, so far everything is working perfectly, however I would like to change the color of the value
according to the result. If the value
is "PENDING" shall be red and if the value
for "OK" to go green.
Below follows the code snippet.
<form>
<label id="label">
Status
</label>
<input id="input" type="text" class="form-control" name="status"
value="<?php echo " $status " ?>"
placeholder="" style="text-transform:uppercase" disabled="disabled">
</form>
Thanks.
You want to change the color of the text inside the input?
– N. Dias
Welcome Gabriel Barreto, take a tour https://pt.meta.stackoverflow.com/questions/1078/como-e-por-que-aceitar-uma-resposta/1079#1079
– user60252