|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 ... |
|
#3
|
|||
|
|||
|
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 .... |
|
#4
|
||||
|
||||
|
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! |
|
#5
|
|||
|
|||
|
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 ... |
|
#6
|
|||
|
|||
|
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... |
|
#7
|
|||
|
|||
|
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 |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > refresh page and hidden data??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|