I am using a jQuery AutoComplete plugin which fills in text as you type. I need to find a way when the page is submitted (submit.php) to determine if the user choose a company from the list, or if they typed in their own unique company.
If an option is selected, can i have jQuery post an extra $_POST variable like "new" or "existing" so I can pick it up on the submit.php page? Or when an option is selected, can I have .js write a hidden tag which contains the variable "existing"? Example: [url]http://www.psylicyde.com/_old/autocomplete/[/url] Source Code: [url]http://www.psylicyde.com/_old/autocomplete/autocomplete.zip[/url] The end goal here is to post a variable on the next page if the user selected an option from the autocomplete list. -- View this message in context: http://www.nabble.com/jQuery-AutoComplete---how-to-post-a-variable-if-option-is-selected--tp21820173s27240p21820173.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.