Click here to Skip to main content
15,885,760 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have dropdown in a view which contain contry names with an 'Others' Options, If user select 'others' option then i want to display a textbox and Add button. this can be done using ajax but i don't know how.
Can anyone Help me. I don't know much about MVC. so i am looking for exact code.
Thank you
Posted
Comments
Sergey Alexandrovich Kryukov 26-Dec-12 23:42pm    
Fir event? What is it? New Year? Christmas? :-)
—SA

1 solution

 
Share this answer
 
Comments
Member 9583779 27-Dec-12 0:10am    
Thanks for the reply but
Above Link provide only redirection to action method but how to get selected value of dropdown in the action method. and how to create textbox and add button if selected value is 'Othes'..
[no name] 27-Dec-12 0:14am    
You need to set their visibility true, if selected value is 'Others'..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900