I just came across this sample code, which has a script tag with both an external source and a body. I assume that this is a clever way to pass some information to the inclu
It shouldn't work. The html specs state that if there's a src attribute on the script tag, the contents of the should be ignored and only the code at the src location should be executed.
On the other hand, this would gracefully degrade on browsers that understand javascript, but are not new enough to support external JS code. If any browsers like this exist, who knows, but generally speaking, the onchange code in your snippet should NOT be executed by any decent modern browser.