I'm guessing the answer is no, but is it possible to assign an event
handler to a control using css?
For example, I'd like to assign an onclick handler to every <divthat
has a class of "foo". Possible?
div.foo {
onclick: myFunction(this );
}
handler to a control using css?
For example, I'd like to assign an onclick handler to every <divthat
has a class of "foo". Possible?
div.foo {
onclick: myFunction(this );
}
Comment