Hi all..

I am having two dropdown list boxes in my .aspx page

They are ddl1 and ddl2...

Now if i change the selected index of the first box (ddl1), the selected index of the second dropdownlist must automaticlly set to zeroth index..i.e index of the second dropdown list box should be set to zero..Somebody provide me with the code in java script as early as posible..

Regards,
Balagurunathan S

document.getElementById('ddl2').selectedIndex = 0;

cya

document.getElementById('ddl2').selectedIndex = 0;

cya

Thanks Nandem..I got it...


Regards,
Bala

No problem.
You're welcome

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.