Click here to Skip to main content
14,937,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a one cascading dropdown and one textbox..when i select list item from dropdown,the textbox should be filled with related text...

1 solution

With this little information I can only do something like,
$("#dropdown").change(function() {
    $("input").val($("#dropdown option:selected").text());

Hope this solves your issue :)

User-11630313 27-Oct-15 6:05am
thank you for replying...i need set the textbox data from database with out postback is it possible?
Krunal Rohit 27-Oct-15 6:22am
Yes, use AJAX.


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