No..!! In case of job switch, it's not only salary what matters..!!
Looking at the trend in industry, these days employees switch job due at money constrain, as this is the basic factor maintaining living. But i will keep Job Satisfaction higher to monetary constrain, which is even related to Salary.
There are several factors affecting job change for a deserving candidate, who have good knowledge & command on his/her role, but salary is the major among all of them

.