Power window

My passenger side power window on my 2000 Z24 cavalier will go down,but won’t go back up.I used to have to hit the door and press the up button and it sometimes would work.I got a window motor and regulater but it still did the samething.Could it be in the switch at the motor,or in the switch at the buttons?

http://community.cartalk.com/posts/list/1214609.page

look at this page. same problem, likely the same cause/ cure.