connection symbols in wordpress

I want to add some javascript in wordpress, something like

if(iNum==0&&iNum+1!=l) 

It shows up wrong, in the source code I found & became & how do I solve it? Thanks.

if(iNum==0&& iNum+1!=l)

Related posts

Leave a Reply

1 comment

  1. Where did you put that code?

    To insert arbitrary javascript code, you need to use HTML mode in post / page edit window.
    To do that, just click on ‘HTML’ just above editor window (to the right of Upload/Insert tools)