Hi all, I would like to create a dynamic kinda "Timetable" whereby I can add,If you don't want your users to wait for server responce each time they touch something, use javascript.
del, and modify the data contained in each cell. Besides that, each cell in the
table should have its unique colour in which this unique colour can be modified
anytime to a different colour through an interface, most probably to be able to
change the cell colour with selection from a drop down menu. ( This is the part
where I really need some help. )How can this be done?
Technology used are: PHP & MySQL
<select onchange="changeColor(this.value);"> <option value="Blue">Blue</option> <option value="Red">Red</option> </select>
changeColor(c) {
var e;
e = (document.all ? document.all.elementId : document.getElementById('elementId'));
e.style.backgroundColor = c;
}
Regards, Irin.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php