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
alliswellalliswell 

DOM Event

 

 

Say in a VF page, there's an email field 'Email' and a picklist field 'Picklist' and a button 'Submit'.

In order to update Picklist everytime Email is changed, actionsupport with 'onchange' event can be used. However, this doesn't work if the Email field is edited and the Submit button is directly clicked. Tried 'onclick' but it didn't work at all.

Any insights on how the picklist can be refreshed as soon as Email field is entered? 

 

Thanks!!

amilawamilaw

can you post your code

Avidev9Avidev9
how about changing the event to onkeyup ?