Forget about it, it came apart because something broke. Buy a replacement assembly from your local auto parts store from Dorman products.
If it is electric windows it is the motor which needs replacing or it could be the regulator
Are you sure you haven't hit the window lock on the drivers master swithc?
How do you remove and replace the motor for the drivers side power window in a 2000 Sienna
Replacing a driver side window in a 1995 Toyota Tercel requires removing the window trim from the door so the old glass can slide out. When inserting the new glass be sure to carefully lower it on to the window track so it will not crack.
Replace the window regulator, it may come with the motor.
Window motor i'd say. Both of mine have given up. €270 from Toyota for one, they can be had for £20 from eBay
If the cables have failed, the entire regulator needs replaced.
There is no 'loop' feature in the program.
The 1991 Toyota Corolla power window relay switch is located inside of the drivers side door. You will need to remove the drivers side door panel in order to access the relay switch.
If you're looking for the master window switch. It's located on the drivers side door pull or arm rest.
the easy way is to remove the door panel and cut the regulator cables on both sides of the motor then raise the window and wedge a stick under the window to hold it up
Rear window relay is inside the pillar on drivers side - its easiest if you remove th rear passenger interior side panels