Timeline for getElementById Returns Null in Apex Form on Visualforce Page
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 9, 2018 at 18:51 | comment | added | Rudy | I'm starting to think it might have something to do with an external resource, because this exact code worked before, before I started using Bootstrap JS and CSS. I'm still trying to narrow down the exact cause of the issue, or find a workaround for it. | |
May 9, 2018 at 17:56 | comment | added | sfdcfox♦ | @Rudy Curious. You might want to look at the source code of the page to see what it should look like. This is one reason why I typically do not use getElementById, but instead query by way of a custom CSS class or data attribute. | |
May 9, 2018 at 17:50 | comment | added | Rudy | I'm afraid this doesn't seem to work. I've tried using just block1.form1.overr_prod, and just form1.overr_prod, but it always returns as null. | |
May 9, 2018 at 2:48 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |