Hi,
How can I add via javascript an Event Attribute like onkeyup="xyz(this.value)" in a text input ?
function x()
{
if (condition)
{
document.definesearch.textsearch. ???? ;
}
}
definesearch is the name of the form.
textsearch is the name of the text input.
I tried this : document.definesearch.textsearch.onkeyup="xyz(this.value)";
but it doesn't work..
plzz help :)
thnx :)