<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>.hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style>
<meta content="MSHTML 6.00.6000.17093" name="GENERATOR">
<style id="owaTempEditStyle"></style>
</head>
<body class="hmmessage" ocsi="x">
<div style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>the array probably works fine, it might be how you are populating it. Does tableData[0].QUERY change between the pages?</div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="divRpF713785" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 19 January 2011 22:07<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Re: array thing<br>
</font><br>
</div>
<div></div>
<div><br>
Sure, I can make the arrays separate.<br>
<br>
I'm just wondering why the code executes correctly in one direction, but not the other.<br>
?<br>
<br>
<br>
<br>
<br>
<br>
<hr id="stopSpelling">
From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 19 Jan 2011 22:02:43 +0000<br>
Subject: [Xerte] Re: array thing<br>
<br>
<style>.ExternalClass .ecxhmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.ExternalClass BODY.ecxhmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style><style></style><style title="owaParaStyle"><!--.ExternalClass P {
MARGIN-BOTTOM: 0px
}
--></style>
<div style="FONT-SIZE: 13px; COLOR: rgb(0,0,0); DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>initialise it up front somewhere?</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">Or make it a property of some handy icon, myHandyIcon.tracking = new Array();</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="ecxdivRpF564387" style="DIRECTION: ltr">
<hr>
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 19 January 2011 22:00<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] array thing<br>
</font><br>
</div>
<div></div>
<div><br>
I have a proto and am trying to re-use an array in that proto<br>
<br>
<br>
tbl_correct_array = new Array();<br>
debug(tbl_correct_array); //shows blank<br>
<br>
//load the array <br>
for (i = 0; i < tableData[0].QUERY.length; i++){ <br>
debug('new array');<br>
temp_array = tableData[0].QUERY[i].data.split(',');<br>
for (j = 0; j < temp_array.length; j++){ <br>
tbl_correct_array.push(temp_array[j]);<br>
}<br>
}<br>
<br>
<br>
<br>
Now, I go to page 1, array loads correctly.<br>
<br>
On to page 2, array loads correctly.<br>
<br>
back to page 1, load loop says it's happening, but the array from page 2 persists.<br>
<br>
Ideas?<br>
<br>
</div>
</div>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information
contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be
monitored as permitted by UK legislation. <br>
<br>
_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information.
If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email
do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own
checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
</div>
</div>
</body>
</html>