I believe this question will involve AJAX, jQuery, PHP, and sessions. I've tried for days and can't crack this. Starting fresh after many walks.
I simply want a form with a dropdown box that does NOT refresh/reload the screen. Saves the selection as a SESSION and "selects" or highlights the dropdown choice based on the session they just set.
So in a nutshell...
- Client selects the option (must use onchange event instead of clicking submit)
- using jQuery / AJAX this helps to prevent the page from reloading (correct?)
- dropdown choice is "remembered" because it uses the session to compare and "selects" it.
- Also able to echo / print the session on the same page.
I'm going to be using this simple example in multiple steps of an ordering form which uses check boxes, radios, input boxes, and dropdown menu.
If anyone knows of a simple example using a dropdown box, that would get me started.
The attempts I had before would only set a session using the first or last of the dropdown list instead of the one chosen.
Register and join over 40,000 other developers!
Recent Topics
-
Las Vegas Phone Services [hostedpbx ip phone]
NocRoom - Jan 25 2019 05:20 AM
-
Building a web app similar to Google sheets
Bissy - Dec 29 2018 05:31 AM
-
How would make this tutorial code print points incorrect order
sonar87 - Nov 03 2018 07:42 PM
-
set property with HTML content as string in from include not possible
LDDbyD - Oct 01 2018 06:33 AM
-
C++ FPS Game Development using Dark GDK
DaDopeman - Aug 12 2018 07:36 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- import
- syntax
- hardware
- asp.net
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- programming
- javascript
- android
- css
- assembly
- form
- c
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- setup
- sql
- help
- python
- combobox
- binary
- game
- hello world
- grid
- innerHTML

I Believe This Question Will Involve Ajax, Jquery, Php, And Sessions. I've Tried For Days And Can't Crack This. Starting Fresh After Many Walks. I
Started by cde111, Jun 03 2012 01:29 PM
jQuery dropdown session ajax jquery
No replies to this topic
#1
Posted 03 June 2012 - 01:29 PM
Also tagged with one or more of these keywords: jQuery, dropdown, session, ajax, jquery
Language Forums →
Other Languages →
ASP, ASP.NET and Coldfusion →
Dynamic controls and asp:button postbackStarted by Tchpowdog, 12 Jun 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Syntax and Reference Error?Started by Tonyobyo, 10 Jun 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Redirect after successful data post in AjaxStarted by PuddingEatsPanda, 16 Feb 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
JQuery/NodeJS AJAX Response HelpStarted by Poe, 27 Jan 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
posting ajax form to multiple urlStarted by mutago, 16 Aug 2015 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download