So how can I access a mason array using a _javascript_ indexer? (see the
WHAT in code sample) ... <script type="text/_javascript_">
var size = <% scalar @sortedfiles %>;
var imagearray = new Array(size);
// do the for loop in _javascript_, not perl
// ..etc
for(i=0 ; i<size ; i++) { imagearray[i] = <% $masonarray[ WHAT ] %> } </script>
Michael Reece wrote:
|
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users