JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
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 October 4th, 2001, 07:45 AM
rajusam rajusam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: Hyd
Posts: 1 rajusam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem With Handling arrays/JavaScript

Hai Friends,

I have a table having 4(DropDownBoxes)columns that grows dynamically.

In the first column I want a Combo Box to populate all National Regions from
the database.

Upon changing a National Region, I want to populate all States pertaining to
the selected National Region in another Combo Box beside the first one from
the database.

Like wise, Upon changing a State, I want to populate all Counties pertaining
to the selected State in another Combo Box beside the Second one from the
database.

The Last column will have a hyperlink to the same page with "Delete" as
text display.

I have a Command button (Add New Location) upon clicking should grow the
table by adding a new row with another set of the elements (one combo box
each for National Regions, States, Counties) and a Delete hyperlink.

I want to delete a particular set (row) of elements by clicking the Delete
hyperlink.

The functionality should be such that only that particular set of elements
(their values) should disappear and the total number of rows should get
reduced by one and all the other elements should have their values intact.

How can I achieve this functionality?

Using Arrays and with

JavaScript or

ASP voding

Anybody Pl. help me comeout of this problem

Reply With Quote
  #2  
Old October 4th, 2001, 11:18 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 10
You know, I read your post three times (each time more slowly) and I still can't figure out what you want. However, I "extracted" some key concepts from your post and am providing URLs for you below, in case they might be of help:

How can I dynamically add/delete options from a select object using JavaScript?: <http://developer.irt.org/script/1504.htm>

How can I link three drop down form fields together so that chaining options in one of the first two effects the contents of the second and/or third?: <http://developer.irt.org/script/1046.htm>

Dynamic Dropdown Menus: <http://tech.irt.org/articles/js042/index.htm>

what is insertAdjacentHTML() function in javascript: <http://www.faqts.com/knowledge_base...aid/7184/fid/53>

How do I emulate insertAdjacentHTML() in Netscape
6/Mozilla?: <http://www.faqts.com/knowledge_base/view.phtml/aid/5756>
__________________
Michael

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Problem With Handling arrays/JavaScript


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-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT