Hi,
I am getting "unterminated String Constant" javascript error in my code for <h:command> tag which contains an onClick event.
When i remove that event, no errors are displayed.
<hx:commandExButton type="submit" styleClass="commandExButton" id="killSelected1" actionListener="#{pc_Oecsummary.submitGroup}" rendered="#{vardata.requestType=='G'}" image="images/arrow_rd.gif" onclick="return submitGrp('#{vardata.groupCode}','#{vardata.dateCreated}','#{vardata.groupDescription}');"> </hx:commandExButton>
I found like some apostropes , new line in string might be rootcause from other sources.
I checked for them. Can someone suggest me something on it or is there any thing wrong in the above code snippet?
Thanks in advance.