I'm having troubles with retrieving data without using a button. I want to retrieve the data from the database and wanted to use it in another textbox. I have a list of dropdown button and i want to use OnClickFunction to retrieve the data from another page or directly from the database . is there any tutorials about retrieving data from another page or same page without using a submit button? i googled it and i can't find the right solutions ..

any help is much appreciated!! :)

I guess that you have googled “AJAX PHP example” … Although most of these tutorials have problems , could give you an idea of what is an AJAX call and how to use the results. What exactly is that you don't understand or have troubles in your code ? Define it in order to help

Edit: This shouldn't be in Community Center