|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
javascript help...input page display to info page
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
*cough* Stock *cough*
|
how would i make an info page with a bunch of text input boxes and once submitted show the values on a different page as like a confirmation type of thing..
im doing a project at school where i have to make a business card generator and on the first page the user inputs info into text boxes then submit, after it displays a template of it using the info on the previous "text box" page thanks so much guys\girls! +rep for help!!
__________________
Is Cisco a cooking ingredient?
|
||||||||||||
|
|
|
|
|
#2 (permalink) | ||||||||||||
|
*cough* Stock *cough*
|
bump
__________________
Is Cisco a cooking ingredient?
|
||||||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||
|
110100001101001111000
|
The simple answer? Download Netbeans. I took the time a while back to learn alot of the Swing API for text boxes and buttons and all that jazz. However, Netbeans incorporates a WYSWYG editor where you just drag and drop all the buttons/controls onto a panel or container and it generates the code automatically. You can then specify your own action events (for generating a popup with the data for example). I'm pretty sure you can do the same with Javascript projects as well.
__________________
|
||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Programmer
|
Quote:
http://www.htmlgoodies.com/beyond/ja...le.php/3470971 Can you do it with a server side language like php or ASP? It would be a lot easier. If not, I just have to shake the rust out and think through some Javascript.
__________________
"If there is a god, I hope he has a good excuse" Woody Allen
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | ||||||||||||
|
Programmer
|
Here's a ghetto barebone example with as little JS as possible. There is no validation/error checking or anything, but this should give you the basic idea:
PHP Code:
Basically all of the work goes into formatting in the JS. Let me know if that explains it well enough.
__________________
"If there is a god, I hope he has a good excuse" Woody Allen
|
||||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||
|
*cough* Stock *cough*
|
thanks guys... too bad my assignment was already due!! i had a url example with question marks in the url to pass variables but it never worked if i viewed the site locally.. luckilly my teacher knew it would work on a server so i passed =) but thanks for the input guys!!
__________________
Is Cisco a cooking ingredient?
|
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|