I want to call a method from controller extension on the onfocus event from Visualforce Code.My Controller Extension method has a System.debug statement. The following debug method call is not displayed in the Developer Console.Visualforce Code where call to Controller Extension's method is made: <apex:inputField value="{!SomeLookupField}" onchange="getMethod()"/>Controller Extension Code: public PageReference getMethod() { System.debug('inside method getMethod()'); } I tried to refer to several posts on the developer forum but it does not seem to work still.Can you please suggest on this?