Subj : how to pass a array from my application to javascript (spidemonkey) To : netscape.public.mozilla.jseng From : "zhimakaiman" Date : Mon Mar 29 2004 06:30 pm Hi: I need to pass a array from my application to javascript using spidemonkey engine. The array has custom defined struct struct MyObject { char username[40]; char password[80]; int age ; }; the array is some kind of globle variable for the javascipt. any one know how to do it? Thanks .