function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to call a function in controller field when onBlur or orChange event fires

 While User is creating an account through visualforce page,in this process he has to fill few input fields.
When he enters Zipcode(input field) value City field value should be auto populated with respective City value.
This Zipcode vs City value mapping is stored in custom object.We maintain this
Zipcode Vs City mapping for only cities that belongs to US.
 So for rest of the cities, User has to manually enter City field value.
                                              Plz suggest me how to implement this.
Take a look at the documentation and examples for apex:actionSupport which should get you what you're looking for. You might need to drop to the lower level apex:actionFunction but for most cases apex:actionSupport is a better place to start.