Venerable Bede Posted January 15, 2004 Posted January 15, 2004 I have a .net radiobutton list with 2 options. If the user clicks on rad1 then bindcombo1() method is called else bindmethod2() is called. This all works fine but the client has now asked that the process avoids the round trip meaning that I will have to perform this operation in javascript. Javscript and .net I struggle with and was wondering if you could give me a hand. Is it possible to populate a .net sropdown with javascript and if so how ? Thanks in Advance Quote
kahlua001 Posted January 15, 2004 Posted January 15, 2004 You can write to a Javascript array the values that are to be populated. Then onClick of the Radio button, loop thru the radio button list to determin which was checked, then populate the dropdwon based on the appropriate javascript array. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.