Dynamic Drop Down W/ No Refresh?

I have a dynamic drop down being populated by a db and then the second drop down is populated depending on what was selected in the first. When it does this though the page refreshes. Is there a way to do this without a page refresh?

I dont think using javascript and arrays is an option cause I am doing this with states and cities and there are about 75,000 records in the db that it is lookin through. Code:

View Replies


ADVERTISEMENT

Drop Down Box Refresh

i am having one application for the i need help like in my application i have one form and that have one drop down box and beside that i am having one more link if i open that link and if i add text that must came to the drop down for that i dont want to loose the preves valuse witch enterd in main window for that i need to refresh only that drop down not all the fields in that form any body.

View Replies View Related

Dynamic Drop Down Box

i have two drop down boxes: student id and student name on a web form.

a database (ms access) has the student id and student name fields in a table.

the drop down boxes should get their values from the table's fields respectively.

i am ok with that (using asp) but my requirement is as follows:

once i select a studentid from textbox1 then automatically the textbox2 should be selected with the corresponding student name.

how can i do this using asp? or can javascript do the job too?

View Replies View Related

Dynamic Drop Down List!

I have a form I'm building in Dreamweaver. On my form I have a drop down list that is populated by a table in my Access Database. I won't to add a second drop down list but have the contents of it vary by what I select in my first drop down list. Let me explain further. Lets say I have a database of Movies. And The name of the movies are in a table and that table is used to populate my first drop down list. Now I have another table that has the actors in the movies. I have a junction table to make them relate in my database.....now how can I select a movie in the first drop down list...and the actors from that movie popluate the second drop down list?

View Replies View Related

Dynamic Drop Down Menu

I want to create two drop down menu. one is for the Main Category and second is for Sub Category. Both value should be come from the database.

when i choose the Main cat. say business then it should load sub cat of business in second drop down menu but is should be done without refreshing the page.

View Replies View Related

Dynamic Drop Down List

I hope this is the right group. I am very new to ASP so this is
probably a stupid question. I have some vbscript that query's AD and
populates a recordset. I know the recorset contains the information I
want by doing a Response.write. I am having problems dynamically
creating a drop down list from the data in the recordset. The drop down
is created but it is empty. Code:

View Replies View Related

Dynamic Drop Down List

I need advice how to reduce the size of my drop down list which is created dynamically using a field from my database. If you visit this link you'll see as the box is too long it's knocked out the whole look of the page. Other than shortening the names of the businesses, is there anything else I can do?
My concern is that next year sometime after this site has gone live, it will be maintained with a content manager by people with no IT expertise.

View Replies View Related

Dynamic Drop Down List

i want to retrieve the value from Mircrosoft Access database into the drop down list..it works.. so its dynamically..

but the problem is.. how could i redirect from the dynamic drop down list to other page.actually this page mostly like a search page.

View Replies View Related

Dynamic Drop Downs

I have two drop downs. Both dropdowns are dynamic and data is send from a db for both,

Depending on what is selected in the first drop down i want to populate the second drop down. I know and have done this using XMLHTTPScripts but as this is for a website i dont want to go down this route.

View Replies View Related

Dynamic Drop Down List

I have an form/application that requires several pages of steps to be completed. On page4 (income school info) I have a dynamic drop down list that builds itself from the database based on member names that the person has entered on the previous pages. When the person filling out the form gets to the end they have the chance to edit their data if something is wrong on page5a.

When they click on the edit icon the member name is passed back to page4 in the querystring. Based on what the member name is in the querystring, I want the dynamically built drop down list to select whatever name is in the querystring. Code:

View Replies View Related

Dynamic Drop Down Lists

I have to populate a drop down list from the database depending on the values of another drop down list. And the thing is it should also be able to add more dynamic dropdown lists to it.

Basically is a survey result page for which the one trying to look at the survey has to figure out different criteriaz.

Suppose he's looking for a group of people who are interested in buyin a stuff and then he wants to find if their age is above or below 50 and then further he decides to see if they are employed or not...

I did try a couple of things such as populating a dropdown list in a new page depending on the values passed on by previous one... but was hoping to find a better solution as the one i m workin is tooo complex and tooo complicated.

View Replies View Related

Validation For Dynamic Drop Down?

This will display all records in PropSec table order by SecSort column which has values like '01', '02', '03', '04' and etc.

The reason for this is that i want to sort the records according to the SecSort, '01' first followed by '02' and so on. There musn't be a same value in the drop down box. The no. of records can increase, & not necessary fix to 3 records only.

MS Access db design :
Secsort = text(2)
Title = text(20)

Expected Outcome:

I would want to check to see that the user does not select the same value twice, i.e to prompt out an error message if it does. I am really confused as how to do a dynamic checking when there is no specific field name to check against.

The checking can be done in the secsort.asp or secsort_rs.asp. As long as it can detect the same values & prompt error msg, i am very happy.....

View Replies View Related

Dynamic Drop Down List

I have a web tool written in ASP. One of the feature is dynamic drop down list which updates a drop down list as another drop down list is changed.I uses javascript to reload the same page to update the drop down list.Everything works fine on the webpage using desktop/laptop.

However, it doesn't work on my mobile device(i.e. one drop down list doesn't get updated as another drop down is changed)how to make it works on mobile device? Should I integrate ASP with another technology,. WAP maybe?

View Replies View Related

Dynamic Drop Down Lists

Does anyway know the best way (preferably usinge ASP and avoiding the use of Arrays) how to achieve the following:

I have an ASP page. In it, I have a FORM that contains 2 Radio Buttons and a Drop Down List. I need to have the values of the Drop Down List change depending on which Radio Button is selected by the User.

(I thought that maybe some sort of code acting on the OnChange action for the Radio Buttons might work??).

View Replies View Related

Dynamic Drop Down To Database

I have this code which works fine except the information in the second box is not submitted to the database. Code:

View Replies View Related

Multiple Dynamic Drop Downs

Im getting the functionality of it down first, thats what It looks a little bland. Anyway, the basic idea is that im trying to have a person select a department which brings up a list of class numbers, which brings up a table of tutoring times. Ive just started using ASP a week ago, so don't tear me apart too much. Code:

View Replies View Related

Two Linked Dynamic Drop Downs

I want to make a form where m using two drop down menus.

Where in based on selection in first drop down the second drop down should populate itself with relevant data based on first drop down. Like first can be COUNTRY name and second can be STATE name where based oon country selected the STATES are displayed in second drop down for selection.

View Replies View Related

Dynamic Drop Down List Problem

I have an asp application which I made "Multilanguage". I made an asp file
for every language with all the strings to be used stored like this:

Langstring1 = "French"
Langstring20 = "VTest"

In the beginning of an asp file I determine which language file to include.
In my database there are only numbers. I can now display the right text in
the right language using respons.write: Response.write(Langstring20)

Now I want to use a dropdown box displaying a text as selected based on a
relation between the number in my database and my language files. When I
have number 20 in a database, the value of the option should be 20 and the
text displayed should be 'VTest' for this is Langstring20. Problem is that
the option value seems to be correct with what I do, but the text displayed
in the box is not correct. How can I solve this? Code:

View Replies View Related

Multiple Dynamic Drop Down Boxes

I have a form with 2 drop down menus. the first is populated via a database query and the second gets populated based on the selection made in the first box. (Category/Sub Category)

I am having a difficult time keeping the initial item selected after the page reloads. I thought that this statement would work: Code:

View Replies View Related

Dynamic Drop Downs And Page Variables

i have a website that uses (or needs to use) dynamically driven dropdowns using asp & JS on all pages. it contains 3 different dropdowns that are DB fed and are dependent upon the value of each other. the drop down values are updated using a repost to itself.

they work perfectly on the initial pages where no other variables are involved, but i am having troubles on the pages where more variables are being sent. eg: i have use a lot of error checking, and when i repost, the variables are deleted, and thus the error listings take effect as the variables are now blank. can i refresh the dropdowns without repossting to the samepage without effecting the existing variables on that page? sessions? cookies?

View Replies View Related

Frame Doesn't Refresh Properly When Manually Refresh Page

I have a page with 2 frames. The first one has a link that loads a page in the second frame. This page has a button on it. When the button is hit, the page does some processing and loads another page in the same frame (the second).

I use ASP and response.redirect or javascript in the onclick event of the button to do the redirection. When I refresh the page by clicking the button on the browser (IE), the second frame becomes empty. Please note that the src attribute of the frame is not set.

If I set the src attribute of the second frame to some asp page and then navigate to another page inside the same frame, when I refresh the page, the initial asp page is loaded in the frame regardless of the asp page currently loaded into the frame.

It seems that when you refresh the page, the frames are reinitialized no matter what pages are currently loaded in the frames.

I solved the problem by redirecting to the main page in the top frame, passing some parameters and resetting the src of the frame to the desired asp page. Thus, when the page is refreshed, all the frames are properly refreshed too.

View Replies View Related

Using Refresh Button On The Menu Bar To Refresh Two Frames.

I have an ASP site that uses frames two frames. (yes I
should be using include files, but we started ou using
frames so we have been stuck with frames.)

When I get a page expired warning (I am not caching pages)
and a user clicks refresh from the menu bar the user is
taken back to the home page! The home page is a frame with
a top frame that is repeated on each subsequent asp pages

The lower half of the home page is a login screen.

After login the next page is shown in the lower half of
the frame. Refreshing within the individual frames is ok.

But when the Refresh from the menu bar is used the home
page is returned any ideas why?

View Replies View Related

Display Drop Down Options Based On The Selected Item From Another Drop Down

The code that I have has 2 drop down boxes dd1 (visible) and dd2 (hidden). Based on the option selected in dd1, dd2 should be visible and populate options. I think I can have OnChange script but how could I return the value and put it in the SQL query (see variable in red in thecode)? Code:

View Replies View Related

Dynamic Calendar, Need To Create Dynamic Array....

I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:

View Replies View Related

Dynamic Dynamic Text

Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.

View Replies View Related

Refresh

How can I refresh one webpage from another?

View Replies View Related

Refresh

How can I get an ASP page to automatically refresh on load.

View Replies View Related

Refresh

Why do I need to close and open my browser to see the changes made to the code(javascript)?? How can make the page refresh without closing the browser.

View Replies View Related

Do I Have To Refresh Every Second

I have this asp page called create project . In this page, there will be a list of clients (pulled from db) for the user to select.

User could also click on the create client button to open up a seperate page/window to create a new client. After they have created the client, the page will be closed. How do I tell my create project page that a new client has been created and so, refresh the page? Do I really need to set my Create project page to refresh every second?

View Replies View Related

Refresh?

I have a asp page where i display all the records i create a hyperlink with that records and when any one click on that link a popup window will appear where user enter the new data and click on update button then i update the fields and the popup window will close but my problem is that when i click on update button i also want to refresh the parent(previous) page please tell me how can i refresh that page ....

View Replies View Related

Refresh

My page uses code like this to redirect to other pages for the purpose of allowing errors and confirmatory statements to be seen by Administrators and Users alike.

Response.Write("<meta http-equiv=""Refresh"" content=""4; URL=AdminSelectAction.asp"">")

The problem is that this does not allow the refresh button to be pressed because it does not change the address in the address bar in Internet Explorer. Response.Redirect does change the address. Is there a way to make a pause before changing the page that WILL change the address in the bar?

View Replies View Related

Refresh

On my form,the user puts in ref no,and clicks submit. a new window gets opened. but when I click on refresh on the browser. the same action takes place(new window opens). whats going on. i dont want this to happen. the page should reload.

View Replies View Related

Refresh

im trying to create one page. which let user to fill in data... then when click on submit button. it pop up one "small windows", which content are:"Thank you for fill in...". den when the user close da window. the parent window can refresh itself automatically.

how to write the codes of once close da "small window", the parent window itself can refresh?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved