# Document access element return null

**URL:** <https://pdfjs.community/t/document-access-element-return-null/2827>\
**Category:** Technical Support\
**Created:** [September 4, 2023, 10:02am UTC](https://pdfjs.community/t/document-access-element-return-null/2827 "2023-09-04T10:02:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xuanhieuduong1999](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xuanhieuduong1999](https://pdfjs.community/u/xuanhieuduong1999)\
**Post date:** [September 4, 2023, 10:02am UTC](https://pdfjs.community/t/document-access-element-return-null/2827/1 "2023-09-04T10:02:37Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**  
8.7.0

**Detailed description of issue**

```javascript
const pageContainer = document.getElementById('pageContainer' + clickedPage)

```

This return null

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [September 5, 2023, 9:54pm UTC](https://pdfjs.community/t/document-access-element-return-null/2827/2 "2023-09-05T21:54:46Z")

</div>

Hello xuanhieuduong1999,

Can you provide more information?  
What is the context of this code?  
Can you provide a sample to reproduce this issue?

Best regards,  
Tyler
