Really? WP won't process Javascript AND or OR?
-
I found out why my Javascript, which works everywhere else, stops working when placed in WordPress. It won’t process &&(AND) and ||(OR). Can this be right?
When I break up the lines and remove the operators, the script runs in WP. But this makes for kinda clumsy and long scripts. I did a quick look around to see if anyone is talking about this, but I haven’t found anything yet.
Do I really have to write JS differently for WP? Is there a workaround?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Really? WP won't process Javascript AND or OR?’ is closed to new replies.