Need example of $form->addElement('select', that uses 'onchange' => 'javascript:myFunctionToDoSomething();

Re: Need example of $form->addElement('select', that uses 'onchange' => 'javascript:myFunctionToDoSomething();

by AL Rachels -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Thanks for the info and links, Tim. I will try to see if I can get things to work based off your references. I did find one Portuguese forum entry that led me to a stack overflow reply. From it I was able to get the onchange attribute to at least give me the lesson list, but was struggling to update the getter.php code that it says was needed.