I want prevent user to select dropdown list items using javascript methods. Is there anyway use OnMouseKeyDown so I can stop there. I donot want use Enable=false.
Javascripts gurus, help me out.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want the user to be able to open the select box but not change the selection, you can do the following:
Where you change the selected index to the item you wish to keep selected. As a side note, this usually isn’t a very good idea from a user interface perspective.