michael123 Posted January 2, 2006 Share Posted January 2, 2006 how can i use xor in javascript thanks... Link to comment Share on other sites More sharing options...
boen_robot Posted January 2, 2006 Share Posted January 2, 2006 Excuse me for the noobish question, but what's "Xor"? Link to comment Share on other sites More sharing options...
Chocolate570 Posted January 3, 2006 Share Posted January 3, 2006 Xor is an operator like || and &&. A quote from a site: On the previous page we stated that the Exclusive-OR, or XOR function can be described verbally as, "Either A or B, but not both." Link to comment Share on other sites More sharing options...
smiles Posted January 3, 2006 Share Posted January 3, 2006 if ( !A && B ) || ( A && !B ) { .............. }else { do nothing }I think so Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now