Wednesday, September 30, 2009

[jQuery] compare variables

I have

varA = com and varB=com55 or ton2 or son1.9 or whatever values...

I want to do a comparison if the prefix of varB = com, which is varA,
then do something. How can i write the code for this ?

No comments: