By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

How to give focus on List box .

Vini171285
P: 60
Hi friends,

how to give focus on list box using javascript in ASP....
actually i could give focus on the list box...but after clicking the alert button,it focuses on the list box,,,and before doing any change it immediately passes to the next page...
Please guide me to avoid this problem...!!

Thanx in Advance!!
Apr 10 '08 #1
Share this Question
Share on Google+
2 Replies


debasisdas
Expert 5K+
P: 8,127
Question moved to Javascript forum.
Apr 11 '08 #2

kunal pawar
100+
P: 297
just write return false; after set focus
Apr 11 '08 #3

Post your reply

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