How can I change the text of a password field from javascript?
===

I have an application in which I load a website and I want to automatically fill in a username and password field the user has entered already (into my application)  by running external javascript on the page. I figured out how to fill in the username, but I can't figure out how to automatically check a checkbox or fill in the password.