I want to fill a jquery array with several names populated from a back end function. This is the script:
var availableTags = '@Url.Action("PopSearch", "Home")';
$("#searchtxt").autocomplete({
source: availableTags
});
public ActionResult PopSearch()
{
IndustryManager manager = new IndustryManager();
ProductRangeManager manager2 = new ProductRangeManager();
ProductCategoryManager manager3 = new ProductCategoryManager();
IList industryList = manager.GetIndustries();
IList rangeList = manager2.GetAllProductRanges();
IList categoryList = manager3.GetAllProductCategories();
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)