hi
- User
hi
- Assistant
Hello! How can I assist you today?
- User
- Assistant
- User
- Assistant
- User
i have added it in index.js acdgeneration:893 Uncaught TypeError: fetchChildCodes is not a function at HTMLButtonElement.onclick (acdgeneration:893:110)
- Assistant
- User
pdfmake.min.js:1 Uncaught SyntaxError: Unexpected token '<' (at pdfmake.min.js:1:1)Understand this errorAI acdgeneration:127 The Content Security Policy 'upgrade-insecure-requests' was delivered via a element outside the document's , which is disallowed. The policy has been ignored.Understand this errorAI acdgeneration:256 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at acdgeneration:256:12 (anonymous) @ acdgeneration:256Understand this errorAI acdgeneration:1007 Inside Function acdgeneration:1047 Inside Function content_script_bundle.js:1 Attempting initialization Thu Mar 13 2025 12:29:44 GMT+0530 (India Standard Time) 5acdgeneration:893 Uncaught TypeError: fetchChildCodes is not a function at HTMLButtonElement.onclick (acdgeneration:893:110)
- Assistant
- User
fetchChildCodes why is this
- Assistant
- User
Fetch Child Codes this is creating issue
- Assistant
- User
Fetch Child Codes this is how it should be right
- Assistant
- User
from this able to hit the function but parent code is coming null getting Please enter a Parent Code.
- Assistant
- User
- Assistant
- User
hi
- Assistant
Hello! How can I assist you today?
- User
function fetchChildCodes() { console.log("fetchChildCodes called"); // For debugging var parentCode = ("#empId").val(); if (!parentCode) { alert("Please enter a Parent Code."); return; } .ajax({ type: "POST", url: "http://172.16.110.117:7002/CommonPolSearchEngine/parent", contentType: "application/json", data: JSON.stringify({ parentCode: parentCode }), success: function(response) { ("#childId").empty().append('<option value="">--Select--</option>'); if (response.childCodes && response.childCodes.length > 0) { .each(response.childCodes, function(index, childCode) { $("#childId").append('' + childCode + ''); }); } else { alert("No child codes found for this Parent Code."); } }, error: function() { alert("Failed to fetch child codes. Please try again."); } }); }
- Assistant
The error you're experiencing,
ERR_TIMED_OUT, typically occurs when the browser is unable to establish a connection to the specified URL. Since your API is running on HTTP, but you are attempting to access it via HTTPS (), this is indeed the likely cause of the timeout. - User
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.