A liquid drop near the surface of a solid experiences a force from the liquid interior molecules as well as due to solid molecules near the liquid-solid interface. Forces due to gravity and air are neglected.
In figure (a), the two vertical lines denote a solid and the right part to it is the liquid. The adhesive force between the solid and the liquid is greater than the cohesive force. $F_\mathrm{S}$ is the force due to the attraction of solid molecules. $F_\mathrm{I}$ is the force by the liquid molecules. $W$ is the weight of the small part of the liquid considered. My book says that the resultant force $F$ is as shown and the liquid surface should be perpendicular to it.
But I think that if the liquid has to rise upwards, there must a component of force in the upward direction initially to pull the liquid upwards and I don't see any.