I have created a simple form field:
All test.js does is issue the alert "Hi there!".
Or maybe that is not an automatic thing and I am missing out some vital step? The documentation does not seem to cover how the JS and AJAX interact (there are some essays on ways it *could* be done, but nothing that clearing states "this is how it works...").
Any clues what I'm missing?