Hello,
I have a two part question. My first question is what I asked in the subject of the question: How can I stop AutoComplete from going to a new page when selecting the value from my database. The reason I need to stop it from going to the next page is because I want the user to select a player value and a statistics value from a drop down menu.
The second part of my question includes how I can pass the id variable from the drop down and include it into the url.
At this point in my code, I can successfully pass the player ID variable into the URL, but I dont know how to pass the statistics variable ID from the drop down into the URL.
Ultimately, I would like the user to click a 'submit' or 'go' button to get to the next page after selecting the player and statistic they want to view.
The URL string should look like(for example): FrontEndBeta.ph p?p=1&s=1
Here is the code that I have so far for your reference. Any help highly grateful for: http://pastie.org/1157229
I have a two part question. My first question is what I asked in the subject of the question: How can I stop AutoComplete from going to a new page when selecting the value from my database. The reason I need to stop it from going to the next page is because I want the user to select a player value and a statistics value from a drop down menu.
The second part of my question includes how I can pass the id variable from the drop down and include it into the url.
At this point in my code, I can successfully pass the player ID variable into the URL, but I dont know how to pass the statistics variable ID from the drop down into the URL.
Ultimately, I would like the user to click a 'submit' or 'go' button to get to the next page after selecting the player and statistic they want to view.
The URL string should look like(for example): FrontEndBeta.ph p?p=1&s=1
Here is the code that I have so far for your reference. Any help highly grateful for: http://pastie.org/1157229
Comment