AutoComplete jQuery Using JSON data

前端 未结 4 988
醉酒成梦
醉酒成梦 2021-01-18 12:08

Imagine a json file with the following data:

[
    {
        color: \"red\",
        value: \"#f00\"
    },
    {
        color: \"green\",
        value: \"         


        
4条回答
  •  孤街浪徒
    2021-01-18 13:13

    After hours of working.. Finally made it happen. Thing is I have a json array consisting of many json objects. Each json object has bank name and its ifsc code.User needed to Type bank and filter out bank detail row from database. Upon selecting that bank... I had 2 input fields one for bank and other for ifsc code. I select bank name and corresponding ifsc code is shown. So this is how i did it:-


    
    
                                     
                  
提交回复
热议问题