Making elements disabled via JS

Hey all, I'm after a little javascript help today.

I have a submit button with ID "submit_it". I want it so that on clicking, the form is submitted, then the button is made disabled so that it can't be clicked again. Does anyone know how to do this?

L.

#257607