I have been tasked with debugging custom javascript which was originally written for 2007 by a 3rd party vendor. The 2007 site has upgraded to 2010 and the javascript has stopped working.
The one bit which I can't seem to figure out fully is code which overwrites SetCtrlFromOpt. In 2007, this function would get called whenever the value of a lookup field was select (those with more than 20 elements).
In 2010 this method is never called and does not seem to exist at all in the core Sharepoint js. I was able to find _SetCtrlFromOpt, but this does not seem to get called either.
Does anyone know if there is some 2010 alternative to this function? There must be something called when the element is selected from the dropdown, to copy from the select to the input, but I'm having a hard time finding this event as this select seems to be created dynamically when the arrow is clicked.