AJAX

Moderators: None (Apply to moderate this forum)
Number of threads: 61
Number of posts: 110

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Form using AJAX / jQuery to set session with dropdown menu Posted by cde111 on 3 Jun 2012 at 2:32 PM
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.
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 2:15 PM
i recommend using codecanyon , it offers similar features
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 2:40 PM
i recommend using codecanyon , it offers similar features
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 2:42 PM
i recommend using codecanyon , it offers similar features . very good one
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 2:48 PM
try codecanyon , it's good as you want
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 2:50 PM
try codecanyon , it's good as you want
Report
Re: Form using AJAX / jQuery to set session with dropdown menu Posted by Miskat on 11 Aug 2012 at 3:02 PM
i recommend using codecanyon , it offers similar features



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.