I call my JavaScript function. Why do I sometimes get the error \'myFunction is not defined\' when it is defined?
For example. I\'ll occasionally g
I think your javascript code should be placed between tag,there is need of document load