Thanks insite. What I really need is a document written for beginners trying to call javascript from a php generated html page. I understand the xmlhttp stuff. My extension uses that to communicate back to my server. Works great, after much pain.
I just need my web app to initiate a message to my Extension. I control bought sides. My plan is to write a .png to aws S3 directly from the extension. I could send the .png to my server and have my server upload it to S3 in php, but that would be wasteful of bandwidth, which costs $.
So if you know how I can simply get my javascript function to be called from my controller, I will work out the messaging details.
proof that an old dog can learn new tricks