473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Regarding Javascript dropdown

Hi team,
have two Drop Downs(select box) and one button.

1. The first drop down is for Country
2. Second one is States

If I select the country US then the states comes in US will appear in states drop down. After that when i select any states from the list then the DIV comes out just below there and again onclick to the button the Div is hide.

Thsi appear and disappear of DIV is like SHUTTER or Slowly comes down and Slow goes up..
Mar 20 '08 #1
3 919
RamananKalirajan
608 512MB
Hi team,
have two Drop Downs(select box) and one button.

1. The first drop down is for Country
2. Second one is States

If I select the country US then the states comes in US will appear in states drop down. After that when i select any states from the list then the DIV comes out just below there and again onclick to the button the Div is hide.

Thsi appear and disappear of DIV is like SHUTTER or Slowly comes down and Slow goes up..

Can You please post the code, so I can try to fix were the problem is.
Regards
Ramanan Kalirajan
Mar 20 '08 #2
Can You please post the code, so I can try to fix were the problem is.
Regards
Ramanan Kalirajan
Hi Ramanan,
i tried my method was not working well please give me if any suitable code for that?
Mar 21 '08 #3
RamananKalirajan
608 512MB
Hi Ramanan,
i tried my method was not working well please give me if any suitable code for that?
Just post your code buddy, I can try it out. The thing is I cant get your requirement clearly. Please post back your code, so I can surely help you out.
I too worked likt it. But my requirement is some what different. In a project if a Manager is logging in, he must be able to see the list of projects in a combo box, after selecting the project corresponding tasks should be shown in another combo box. I worked it out. You just give your code. surely I will help you. Expecting the code.

Regards
Ramanan Kalirajan
Mar 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: cheezebeetle | last post by:
ok, so I am having problems passing in an ASPX function into the Javascript in the codebehind page. I am simply using a confirm call which when they press "OK" they call this ASPX function, when...
3
by: | last post by:
guys i have a asp.net form with a ton of dropdown boxes and i need to accomplish two things on the client with no post back to server. im also thinking that my answer lies in using javascript, but i...
2
by: Milsnips | last post by:
Hi there, I'm using VS.NET 2003, (.NET 1.1.4322) - I've got dropdown list with about 10 items in it on a web page. On 2 of the items i'd like the autopostback to occur, whereas if the user...
1
by: tshad | last post by:
I need to do some work with Javascript and my datagrid controls. I want to do something like: ********************************************************* function CheckQuestion() { var checkBox...
4
by: tshad | last post by:
I need to do some work with Javascript and my datagrid controls. I want to do something like: ********************************************************* function CheckQuestion() { var checkBox...
7
by: =?Utf-8?B?Qw==?= | last post by:
I have a dropdown list as below. I add an onchnage attribute in my codebehind to call some Javascript. I want to get the selected text from my dropdown. What am I doing wrong below? ...
4
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown...
6
by: lucyh3h | last post by:
Hi, In one of my pages, I use javascript (AJAX) to populate one mulitple select field based on user's click event on another control. I noticed that when I navigate back to this page by clicking...
2
by: sailajapotha | last post by:
I have one javascript code with me,to show parent dropdown as well as child dropdown. <html> <head> <script type="text/javascript" language="javascript"> function setOptions(chosen) { var...
1
by: Rick | last post by:
Hi, I have an ASP .NET page with codebehind in a vb file. The page has a dropdown control, and a JS function which used HTTP XML Request to get the data from the database, and populate the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.