Handle stray onclick code the same way I do onchange code.

If it doesn't belong there, or I can't process it there, yet,
just print an error and move on.
No idea why I treated onclick and onchange diffferently,
but that just confuses things.