I have a login form where the user types a password.

I have found out how to has the password in javascript using md5.

I now want to send the hashed password to the server so that it can be compared with a hashed password in the database.

I just can't find how to do this. All the examples I look at ignore this stage as if it's obvious. I'm sorry but not to me.