I want to call a JSF method with a parameter from JavaScript.
I tired it like this but here the data the method gets is "+id+" but I want it to get the value of id. id is a JavaScript variable.
"#{CDT.count("+id+"}";
I want to call a JSF method with a parameter from JavaScript.
I tired it like this but here the data the method gets is "+id+" but I want it to get the value of id. id is a JavaScript variable.
"#{CDT.count("+id+"}";