We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Conditionals issue

How Do I?

cooperdjm72's avatar
cooperdjm72
11 posts
6 years ago
cooperdjm72's avatar cooperdjm72
    {if segment_2 != 'smkm_form' OR segment_2 != 'nemp_form'}
   A  jquery-1.12.4.min.j script
    {/if}

The reason for this is that jquery-1.12.4.min.js causes a problem with those two pages, but not with all the others. But it does not work when I have more than one condition.

Any ideas why?

Thanks

       
stefanos's avatar
stefanos
57 posts
6 years ago
stefanos's avatar stefanos

Your condition code will result only a string, no Javascript code.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.