Intermolecular bonding:
Water is a polar molecule exhibit dispersion forces and hydrogen bonding
Salt is a polar molecule exhibit dispersion forces and dipole dipole bonding
Same bonding capacity therefore similar bonding capacity, therefore salt able to dissolves in water