I'm working with JSF and EXT js. I have a JSONArray created in the server-side and I want to pass it to client-side. I used to get the array and put it in javascript var. But this tag adds a html tag (span) which make an error in javascript var.
This is the code I wrote:
var data1 = <h:outputFormat value="#{actorBean.newactors}" />
And this is the code of my page after running:
var data1 =<span>[["aaaaaaa","bbbbbbb"]]</span>
so do u have any idea how to get the array without all the tags added ? thanks