I know full well how to change css values using client-side scripting.
But heres my question… can I set (reset) a css value on event?
Anotherwords… can I assign a new value based on the status of an event handler?
With javascript, in html, you can write:
[CODE]onClick=”javascript:document.all.item.style.color=#ff0000;”
But what I want to know is if you can do something to the effect of:
[CODE]onClick=”style:#item {color:#ff0000;}”
And if so, how?
I am ultimately looking for a way to effect changes in css values, post load, without the use of javascript
I understand that some things arent possible without javascript, but event handlers are a feature html, not script (or am I wrong about that?).
If css values can be assigned during the loading process, I dont see why an event cant change them.