ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 5th, 2005, 05:46 AM
quince quince is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 18 quince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 22 sec
Reputation Power: 0
Unhappy refresh page/drop down list and hidden data???

hello everyone ... this is my first post ... so i wish if you could help me in my problem....

i am doing a drop down list for example list of countries... when i choose one i want it to refresh the page and add new label as another drop down list or input type text and so on till all the information is given then when i submit i want all the information to stored in a databse ....
so plz if u know the way will u send me a small example between two drop down lists

and one more question i know that i am asking too much but i want to know "if i could choose in a page an item which has a price and it is hyperlinked to another page which is a form and when i fill it and submit it i want the name of this item which is not included in the form and also the price ... my question is could i do it or not ? and if i can will you show me how .... as i know i might put the name and the price of this item in a hidden input and then when the form is submitted i send it to the database .. will you answer me my questions please .. and thank you all ...

Reply With Quote
  #2  
Old January 5th, 2005, 06:49 AM
Spudhead Spudhead is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 151 Spudhead User rank is Corporal (100 - 500 Reputation Level)Spudhead User rank is Corporal (100 - 500 Reputation Level)Spudhead User rank is Corporal (100 - 500 Reputation Level)Spudhead User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 10 m 58 sec
Reputation Power: 8
I think you may need to rephrase your question with some form of grammar included, but as a brief answer - try here for basic information regarding ASP and forms.

Reply With Quote
  #3  
Old January 5th, 2005, 10:11 AM
quince quince is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 18 quince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 22 sec
Reputation Power: 0
okay .... what i need is drop down list have all contries when i choose one the page will refresh and give me the city of the country is selected... that's what i need
or
another way .... i have the months drop down list and also i have the days drop down list ... if i choose a month with 31 days, then the month will automaticaly show me 31 days.. and if i choose a month with 28 days the day list will show me only 28 day .... did u get me ....

Reply With Quote
  #4  
Old January 5th, 2005, 10:53 AM
WisconsinGuy's Avatar
WisconsinGuy WisconsinGuy is offline
I thank you very little
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2003
Location: Milwaukee, WI
Posts: 1,028 WisconsinGuy User rank is Corporal (100 - 500 Reputation Level)WisconsinGuy User rank is Corporal (100 - 500 Reputation Level)WisconsinGuy User rank is Corporal (100 - 500 Reputation Level)WisconsinGuy User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 35 m 41 sec
Reputation Power: 10
Do you have all this data in a database or a textfile? If you are using a database this should be simple as long as your data design is correct.

<select onchange="form.submit()">


Then in ASP capture the value of your option you selected and use that in your query. What do you have so far?

If you are looking for a script, try www.hotscripts.com

Good Luck
__________________
PEACE!

Reply With Quote
  #5  
Old January 6th, 2005, 12:27 AM
quince quince is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 18 quince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 22 sec
Reputation Power: 0
thanks a lot guys i had found the solution ...

now may i ask something more

i have a text label and it is called "price" i need to calculate the price inside this label for example the equation will be like this price * 15% so how do i do this ???
waiting for ur reply ...

Reply With Quote
  #6  
Old April 14th, 2009, 02:11 AM
praveenhathwar praveenhathwar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2009
Posts: 6 praveenhathwar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 35 m 36 sec
Reputation Power: 0
Unhappy

Hi Quince,
I ve read ur post. I also have the same requirement as you have i.e, on selecting country, cities combo box should be loaded and later entering all the remaining fields the form should be submitted (which redirects to another page). I ve achieved it partially.

After selecting the country box, city combo box will be loaded (By loading the entire page once again). But I can't able to retrive the some field's data (fields below country combo box) after submitting the form.

Can u post your code please...

Reply With Quote
  #7  
Old April 14th, 2009, 03:24 AM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Jun 2003
Posts: 12,211 Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 3 Days 3 h 35 m 38 sec
Reputation Power: 1969
quince may not be around, the thread is 4 years old. Please don't resurrect old topics, I'm closing this thread and you can start a new question topic.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > refresh page and hidden data???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT