javascript - Not able to iterate over java collection in jquery -


i want iterate javascript collection of objects in jquery. when place alert able see collection getting printed not able iterate on elements of collection in jquery. how can that? tried:

    ${mergedconfirmedtechnologies}.each(function(index,element){     alert("here "+element.product);      }); 

but did not work though when do:

    alert(${mergedconfirmedtechnologies});  

then prints collection of objects suggest how can iterate on collection in jquery?

to iterate on java collection in javascript, first need convert object javascript can understand. can following:

1- convert java collection json string or directly write collection, using el javascript string.

2- parse string form javascript array object.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -