vikasbhagwagar
08-24-2006, 05:07 PM
Hello,
I need to attach user function to my global javascript.
My global javascript validate each & evey controls via DOM traversing.
I want ,User also attach functions like compareEmail etc to my JavaScript
So i m trying to store userfuction through register(Function) procedure.
Whenever user click Submit button, that user procedure will be called first & then my own dom traversing procedure will be start. But , after storing the function into userFunctionstack, i cant able to execute via by just calling
for i = 0 to length(userFunctionstack)
userFunction[i]
end for
Any one have solution of this prob, how to store/exec JavaScript function from Array ???
Plz reply...
I need to attach user function to my global javascript.
My global javascript validate each & evey controls via DOM traversing.
I want ,User also attach functions like compareEmail etc to my JavaScript
So i m trying to store userfuction through register(Function) procedure.
Whenever user click Submit button, that user procedure will be called first & then my own dom traversing procedure will be start. But , after storing the function into userFunctionstack, i cant able to execute via by just calling
for i = 0 to length(userFunctionstack)
userFunction[i]
end for
Any one have solution of this prob, how to store/exec JavaScript function from Array ???
Plz reply...