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
raghu123raghu123 

populate input field using AJAX

Hi Everybody..

                         I have a vf page with two  inputfields, i need to populate inputfield2  by querying database  with  inputfield1 value using ajax.

  

          Can anyone Help me out..:))))

 

Thank You

Imran MohammedImran Mohammed

Actually you should rerender field2 once the ajax call is done.

Is there a button event after which query will be issued to find field2 value.

or Do you want to get the value when control comes out of field1