Okay, let's see if I can explain this so people will understand me. I am going to wire a light switch to some new lights that I have in my garage attic which I have no problem doing and understand but have a question about an existing junction box that was in the attic.
In the box was the power supply cable. Then there were two more cables that were coming in from the switch that had the blacks and whites. So the power cable was supplying the power to the switch on the one set and the switch was supplying the power to the light on the other. The black line from the power cable was connected to the black power on the cable that ran to the switch. The white from the power was connected to the white neutrals in the box. The black line running up from the switch was connected to the light and the white from the light was also connected to the whites. My problem though is that the white coming up from the switch was connected to the black power coming in and the black power going down to the switch. Is that right?