Headlight help

I was coming home from dinner the other night; turned down a street with no street lights so I hit the floor mounted dimmer switch & turned on the high beams. Once I saw a car coming the other direction I turned the high beams off, the car passed & I hit the dimmer switch again only this time the high beams did not come on & my headlights went out. It was really dark! I took the dimmer switch out tonight, went & bought a new one & the high beams still do not work. Any suggestions? Bad ground maybe? Possible the high beams burned out on both bulbs at the same time? Anybody else have this happen? Any help is greatly appreciated. Thanks