Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Suppose i have a prefilled field which actuallt fetches the id from database but shows the name instead. I want to make that field editable. And hence a person should be able to edit it from the advanced search of name in dropdown but should submit the id at the end instead. How do i solve it in bootstrap using javascript?

What I have tried:

Tried fetching the id using javascript and name too. using an id i show the name but store the id. but dont know how to allow input for the same field
Posted
Comments
Rajesh Pandya 31-Jan-18 4:58am    
May be following link will helpful to you:
https://silviomoreto.github.io/bootstrap-select/examples/
https://codepen.io/Rio517/pen/NPLbpP

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