Why doesn't this work Hide Sections, and control validation behaves different in Chrome Vs Edge |
10/1/2025 13:20:47 | |
ASPRunner.NET General questions | ||
M
MSchell author
ASPRunner.net Enterprise Build 43785 This code is in the Edit Page JavaScript OnLoad event. Based on the saved data, it will hide or show differet sections of the edit page. I know it's making it into the if statement because I inserted this: "RelocationPerDiemComments.setValue(proxy.Pos_FilledOutsidePosting);" to place the value in this field, and it is doing that. if (PosFilledOutsidePosting.getValue() === 'on') { RelocationPerDiemComments.setValue(proxy.Pos_FilledOutsidePosting); } Attached inages: Edge: Chrome |
![]() ![]() |
|
![]() |
ChatGPT 10/1/2025 |
It seems like you're experiencing inconsistent behavior across different browsers (Edge and Chrome) when executing JavaScript in your ASPRunner.NET application. Let's break down the issues you’re encountering one by one: 1. Visibility of Code BlockIn your JavaScript code, you're toggling the visibility of the "CodeBlock" section based on the condition:
3. Consistency Across BrowsersTo troubleshoot the inconsistencies:
Suggested Debugging Steps
ConclusionStart with debugging using console logs and checking for errors in the developer tools. This should give you a clearer idea of where the discrepancies are occurring and help you address the issues effectively. If the problem persists, consider reaching out to the ASPRunner.NET support community or forums for more targeted assistance based on your specific version and use case. |
|
M
|
MSchell author 10/1/2025 |
Can't say ChatGPT was any help to me. |
|
M
|
MSchell author 10/1/2025 |
PosFilledOutsidePosting is a bit field |
|