orkun Posted June 7, 2010 Share Posted June 7, 2010 helloI couldn't receive the values of a list (in my case data_list) function gheyelan(data_list) { // data is an arraylist that was constructed in java-jsf for (var i=0;i<data_list.length;i++) { // get the value of the data_list (list) } }Could you provde a hintkind regards Link to comment Share on other sites More sharing options...
Ccssrs69 Posted June 7, 2010 Share Posted June 7, 2010 First off are you even entering the for loop, use an alert to to do your debugging like so.function gheyelan(data_list) { //Debugging for data in arrayalert(data_list.length);for (var i=0;i<data_list.length;i++){//Debugging for Values in arrayalert(data_list);// get the value of the data_list (list) }} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.