I am aswell a newbie with javascript...But that seems similar to what I was looking for. I wanted to use the "onblur" command to run the javascript...but when I use it, I recieve an error...
...