Saturday, May 4, 2013

AND Operator in af:resource in javascript throwing error , Expected name instead of &



If you have encountered an error message using '&&' operator in <af:resource> , then try replacing '&&' with '&amp:&amp;'

 if (butPressed == 'YES' &&  (editGenInfo == 'Y'))


 if (butPressed == 'YES' &amp;&amp;  (editGenInfo == 'Y'))

No comments:

Post a Comment