發表文章

目前顯示的是 4月 11, 2019的文章

jquery autocomplete json won't display - css issue?

圖片
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I am trying to get a part number and description by autocompleting the partNumb id. I get a PHP response for my autocomplete request: [{ "partNumb":"500406-12610532", "partDesc":"Bray Series 50 ", "vendName":"U", "manuName":"Bray" }] I am using the simplest of AC requests: $('#partNumber_1').autocomplete( { minLength:4, source: "db_AC.php?name=PN", dataType: "json" }); The browser show two thin LIs, but nothing in them... How can I have a label for partNumb and ...