Joined: March 21st, 2007, 10:44 am Posts: 3188 Location: UK
Opus: Evolution
|
Hi OpusLover,
If you are simply trying to keep track of which teams turn it is, then store it in a variable and use and if else
var myTurnText // set this at pub run
var myTurn ='A' // set this at pub run
//Run this when you load the second page
function theTurn ()
{
if (myTurn == 'A')
{
myTurnText = 'Team A Turn'
myTurn = 'B'
}
else
{
myTurnText = 'Team B Turn'
myTurn = 'A'
}
//Display myTurnText in a text Box on page two!
|
|