I'm getting into the DOM thing. Way cool... anyway...
I see that DOM handles events but I don't quite get "it." I understand that DOM does not directly support DHTML events - i.e. you cannot do this:
I'm trying to imagine DOM handles events somewhat generically kinda like a standard Mac GUI program - all events are passed to a general event handler and the handler figures out what kind of event it is and calls appropriate functions.
var mychkbox = createElement('input');
But I don't see how the script can see what specific element was clicked on - a specific checkbox for example.
What am I trying to do, you ask?
I'm dynamically creating table rows, each row has several fields constituting one data record. I want to default-disable a certain textbox (which I do), but I want to enable it when I click on it's associated checkbox. Easy in DHTML, is it possible in DOM?