Wednesday, December 21, 2011

Pass Array Object from Java to Java Script.


*click on the image for better view.

The above piece of java script code will build a array in javascript which can be passed to other java script functions and used.

The Array is built from array of string java object - arrayOfCityNames; which contains the array of city names for a perticular state.




No comments: