Jerome
04-04-2003, 01:43 PM
Hi,
I have a link with a function which the first time You click needs to activate the function and use argument - X - , but the second time You click it needs to activate the same function and using argument - Y -, and after again with - X - and so on, like
1. time: onClick="function1('X');"
2. time: onClick="function1('Y');"
3. time: onClick="function1('X');"
And so on, in other words toggle between the arguments.
Has somebody experience with this?
Thanks for Your effort,
Jerome
I have a link with a function which the first time You click needs to activate the function and use argument - X - , but the second time You click it needs to activate the same function and using argument - Y -, and after again with - X - and so on, like
1. time: onClick="function1('X');"
2. time: onClick="function1('Y');"
3. time: onClick="function1('X');"
And so on, in other words toggle between the arguments.
Has somebody experience with this?
Thanks for Your effort,
Jerome