Hi,
my database holds names and email addresses. My php frontend displays a page where the names can be selected and a text input field for email addresses. The database is not complete, so there are many names without email data.
What I'm trying to do is to automatically lookup the database for an existing email address in case a name has been chosen.
Therefore I added an onFocus event to the input field to execute some javascript. Inside this script I want to perform some database stuff to retrieve the corresponding email address for the chosen name. For this to work I need to pass the name-value from js to php.
Everything I tried doesn't work and even internet search engines did not find anything. Does anyone got an idea how to solve this problem?
thanks and best regards
Hugo