Jump to content

couldn't receive the values of a list


orkun
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...