Code:
<style>
option.Avaliable {background-color:green}
option.Busy {background-color:red}
</style>
Code:
<option value="0" class="Avaliable">Avaliable</option> <option value="1" class="Busy">Busy</option>
<style>
option.Avaliable {background-color:green}
option.Busy {background-color:red}
</style>
<option value="0" class="Avaliable">Avaliable</option> <option value="1" class="Busy">Busy</option>
//cell 1
var cell1 = row.insertCell(1);
var el = document.createElement("select");
el.name = 'Status[]' //
// JavaScript Document
function addRowToTable(){
var tbl = document.getElementById('Division');
var lastRow = tbl.rows.length;
// if there's no header row in the table, then iteration = lastRow + 1
var
Leave a comment: