The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Get output from php using jquery Re: Get output from php using jquery


Basically the form will store data to a database. I’m trying to dynamically check to ensure the field pageName doesn’t already exist.

When the user enters text into the textbox and loses focus I want the jquery/javascript to send the value of the textbox to php, have php check if the name is on the database by pulling the names with a select query and comparing the results. if a match is found a message that says "name exists" will display next to the textbox.