How to escape && in jQuery script?
-
I am using a jquery script in the wysiwyg editor of a page like this:
<script type="text/javascript">// <![CDATA[ jQuery(document).ready(function () { ..... ..... if (abc == 69 && xyz == 20) var isHere = true; .... .... }); // ]]></script>
However, it seems like && is translated to
& #038;& #038;
when the page loads. How do I prevent this from happening? I have tried & ; but that does not work.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to escape && in jQuery script?’ is closed to new replies.