Facing error in autocomplete textbox #64
Closed
Lakshmisureshan
started this conversation in
General
Replies: 1 comment
-
Hi, it is recommended that you submit this question to Stack Overflow to get more help. Thank you :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@model InventoryManagement.Models.ViewModel.AddBom
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
}
@section Scripts
{
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.9.2/jquery-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var kk = function (request, response) {
$.ajax({
url: '/Bom/AutoComplete/',
data: { "prefix": request.term },
type: "POST",
success: function (data) {
var formattedData = $.map(data, function (item) {
return {
label: item.label,
value: item.val
};
});
response(formattedData);
}
this is my code ..value is correctly coming ..but dropdown not displaying
Beta Was this translation helpful? Give feedback.
All reactions