medi
12-25-2002, 07:01 PM
for example,
i have two textfields in a form named "a" and "b", what i wont to do ist wenn clicking on it to call a function that displays a name of a textfield.
if i do following
function f(field){
alert(field.name);
}
and in body
<input ... onClick="f(this)">
on ie works but netscape 4.x does not react
if i use onFocus instead, it displays the msgbox all the time, again and again.
TIA medi
i have two textfields in a form named "a" and "b", what i wont to do ist wenn clicking on it to call a function that displays a name of a textfield.
if i do following
function f(field){
alert(field.name);
}
and in body
<input ... onClick="f(this)">
on ie works but netscape 4.x does not react
if i use onFocus instead, it displays the msgbox all the time, again and again.
TIA medi