I have a JSF page that use in it any javascript code but a while loop is in this script that cause an error like this:
"The content of elements must consist of well-formed character data or markup"
but this javascript code worked successfully in jsp or html page.
I use of this tag for put javascript code in page : <webuijsf:script type="text/javascript">
of course with use of <script> tag too happen this error .
if you know why happen this error ?