Thanks Manfred for the advice. I too was thinking I may have to send a string back, but I really don't want to have to write a parser in javascript even though I may have to anyway. The string I would have to pass will be a nasty one. Quoted text, all number types (int, float etc), ANY character is valid, and I mean any because this will be an i18n product. Then inside a quoted string there can be nested quotes nested many times over. Don't get me wrong, I've already written this parser in Java for the Server side database because I pass it from the applet as a string in the first place. I just didn't want to write it again in js

if I could just pass is as an array. Having to parse it will be slower than just passing an array and updating the DOM variables. Well I could just pass the string to the applet and in the JS call my Java parsing routine. I wonder .....
Joe Crew