anishtulsyan22
New Coder
Hi,
I am trying to implement a Comparison feature with 3 text Boxes with autocomplete feature. For the 1st text box everything seems to be working fine as of now. For the second text box, autocomplete feature does not seems to work. After a bit of debugging, I came to analyse that, JS is skipping one line of code from executing. Why so ?
if (Array.isArray(product_result)) {
// console.log(product_result);
product_result = product_result.map((data) => {
return data = '<li>' + data.brand + ' ' + data.model_name + '</li>';
});
console.log("Anish");
search_wrapper_second.classList.add("active");
console.log("Anish");
show_Suggestions_second_product(product_result);
let searchList = suggbox_second.querySelecto
Everything seems to be working fine . but the line between the lines console.log("Anish") is not working. I am not able to understand, why this is happening.
Any help would be appreciated .
Thanks in Advance,
Best Regards,
Anish Tulsyan .
rAll("li");
I am trying to implement a Comparison feature with 3 text Boxes with autocomplete feature. For the 1st text box everything seems to be working fine as of now. For the second text box, autocomplete feature does not seems to work. After a bit of debugging, I came to analyse that, JS is skipping one line of code from executing. Why so ?
if (Array.isArray(product_result)) {
// console.log(product_result);
product_result = product_result.map((data) => {
return data = '<li>' + data.brand + ' ' + data.model_name + '</li>';
});
console.log("Anish");
search_wrapper_second.classList.add("active");
console.log("Anish");
show_Suggestions_second_product(product_result);
let searchList = suggbox_second.querySelecto
Everything seems to be working fine . but the line between the lines console.log("Anish") is not working. I am not able to understand, why this is happening.
Any help would be appreciated .
Thanks in Advance,
Best Regards,
Anish Tulsyan .
rAll("li");