mr_ego
10-15-2003, 03:40 PM
When a button is clicked; an event occurs.
but this event can change.
i dont want the event to be assigned to the button
and i dont want a function to choose what even to happen
i would like javascript to manage the events.
document.userdefform.elements["item"].onClick = "selectit(this)";
this doesnt work..
but it's the theroy i'm describing.
any ideas?
but this event can change.
i dont want the event to be assigned to the button
and i dont want a function to choose what even to happen
i would like javascript to manage the events.
document.userdefform.elements["item"].onClick = "selectit(this)";
this doesnt work..
but it's the theroy i'm describing.
any ideas?