onClick="javascript:myFunction()"

or does it HAVE to be

onClick:"myFunction()"

I know 'javascript' is not necessary here, but just want to know whether
to include it (which sometimes I do by mistake) is incorrect syntax or
not.. thank you.. Frances