onchange

W

Wolf Grossi

Hi folks,

onsubmit a form is scanned tru all elements and the element is checked
if it has onchange set.
If so, onchange is executed.

Assuming onchange looks like


onchange=function onchange(event)
{
alert("Alert XXX");
return checkNULL(this);
}


how can I execute the last statement of onchange only?


Thanks for reading,
Wolf
 
G

GArlington

Hi folks,

onsubmit a form is scanned tru all elements and the element is checked
if it has onchange set.
If so, onchange is executed.

Assuming onchange looks like

onchange=function onchange(event)
{
alert("Alert XXX");
return checkNULL(this);

}

how can I execute the last statement of onchange only?

Thanks for reading,
Wolf

Do you want to avoid getting alerts? The way it is programmed you can
not. Cahnge the function to display conditional alert.
 
W

Wolf Grossi

GArlington said:
Do you want to avoid getting alerts? The way it is programmed you can
not. Cahnge the function to display conditional alert.
No, I want to change *any* onchange function according to my needs.
The above lines are just an example, apparently a bad one :)

Thanks,
Wolf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top