I'm having some trouble solving this issue. the code that matters is:
for( k=1; tamanho>k ; k++) {
var a= "#{BDEStats.getListaJobStats().get(k).getName()}";
This is javascript and im trying to pass "k
" to my bean invocation. but JS doesnt recognize "k
" inside the bean call
Do you know a way I can escape a character so JS recognizes it? or concatenate the bean invocation?
Any ideas??
Thank you in advance.