hi,,
i have one dropdownlist and one textbox.
i want a javascript code for following criteria.
if i select any value from dropdownlist then focus should directly set to the textbox.
plz provide me code..
thank you.
Set focus from dropdownlist to textbox
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 17, 2010, 5:14 AM EDT
On page_load event write the following line:
DropDownList1.Attributes.Add("onchange", "document.getElementById('" + TextBox1.ClientID + "').focus();");
Please mark as answer if it helps.
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 19, 2010, 4:36 AM EDT
My answer still not get marked....