Awesome thanks for the suggestion! My knowledge of javascript pales in comparison to my knowledge in other languages. Mind explaining why this is the case?
P.S. While lock and unlock now work perfect I can't seem to get the onChange method working. Does anyone else seem to be having this problem?
Thanks in advance!