Menu
not sure if such method is possible.
function run1()
{
if(parent.topFrame.document.formname.submitbutton == true)
{
function run2();
}
}
function run2()
{
if statement code here
}
what i am trying to do is. when the button onclick, then it executes a function. it doesn’t work. maybe I got the syntax wrong or something.
or is there a better way to do it?
onclick, executes a ‘if else statement function’
thank you in advance