?
Solved

Need to use a jquery modal window to add a var into a session variable upon form submission

Posted on 2010-08-25
2
Medium Priority
?
372 Views
Last Modified: 2012-05-10
I was planning to use this:  http://jqueryui.com/demos/dialog/#modal-form
to create the form but I want the input to go to from the form submission to be saved in a session var.  I will do that via php but need to know how to get the submission to go to a php mod.
0
Comment
Question by:JGoyer
2 Comments
 
LVL 3

Accepted Solution

by:
wuff earned 2000 total points
ID: 33523617
You could use Ajax for this. Check this example with login form:

http://www.bitrepository.com/ajax-login-modal-box.html
0
 
LVL 2

Author Closing Comment

by:JGoyer
ID: 33527131
PERFECT PERFECT PERFECT.  Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question