jQuery multiple conditions within if statement

The Solution to jQuery multiple conditions within if statement is


Try

if (!(i == 'InvKey' || i == 'PostDate')) {

or

if (i != 'InvKey' || i != 'PostDate') {

that says if i does not equals InvKey OR PostDate

~ Answered on 2012-05-23 15:05:31


Most Viewed Questions: