View Full Version : How to call a function from a conditional
Basicly, I need to say:
If this equals that, then do function test().
04-08-2003, 01:58 AM
your right on target Saj
It works for me and all of my scripts :D
Then what exactly would I do?
04-08-2003, 02:13 AM
you would put it like this
alert("Hi there,, I was called by a condition.")
04-08-2003, 02:14 AM
it depends on if the function takes a parameter or not. if it does then there is someting in between the parenthesis otherwise there is nothing in between them.
Ohh duh. The first thing you said worked for me. I was actually putting it in the wrong function at first. I'm really going crazy.
Thank though. :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.