Excuse my ignorance, and being new to Joomla, but I want to implement a dynamic user input device, which will allow the users to basically connect dots between a number of nodes, (similar to plotting a route). In terms of functionality, I need to basically manipulate an image in response to button presses, without submiting the form every button press. So I am thinking javascript.
However after doing some document searches I am unsure of the best way to implement JavaScript / AJAX in a Joomla article, what I have found has been a little patchy, or lightweight, so I am trying to piece together a better definitive picture.
Am I right in thinking I should create this as a component?
Should I be leveraging Mootools, or some other library?
I did play with Jumi, and while I like it, I doubt its what I need here.
Is there a good idiot proof example out there of implementing this sort of dynamic element into a Joomla article?