I have a VF page based on an object. It has a lot of lookup relationships. When a lookup is selected for a certain field (let's say Market_c), I'd like to do some processing in Javascript. How do I hook an existing apex:inputfield
tag to a javascript function? And once in the Javascript function, how do I get the value of the selected Market_c.
I've tried hooking up onchange
event, but it simply does not fire.
Best Answer