# Kibana 7.4 Plugin document Ready Event

**URL:** <https://discuss.elastic.co/t/kibana-7-4-plugin-document-ready-event/204725>\
**Category:** Kibana\
**Created:** [October 22, 2019, 8:07pm UTC](https://discuss.elastic.co/t/kibana-7-4-plugin-document-ready-event/204725 "2019-10-22T20:07:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sincore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sincore/32/56357_2.png) [@Sincore](https://discuss.elastic.co/u/Sincore)\
**Post date:** [October 22, 2019, 8:07pm UTC](https://discuss.elastic.co/t/kibana-7-4-plugin-document-ready-event/204725/1 "2019-10-22T20:07:35Z")

</div>

Hi All,  
I am currently in the process of developing a simple plugin that removes some elements from certain pages I want to be able to run some Simply Jquery after the document fully loads. I have tried doing this with "(document).ready(function(){" and this seemed to have worked in Kibana 7.2 but since the upgrade to 7.4 the processes have started to fail. As far as i can tell "(document).ready(function(){" fires before all elements are on screen so it causes a failure. Can this same "Document ready" type of thing be done in some other way.

I should probably mention im using hack.js to do this.

Thanks!

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 22, 2019, 8:11pm UTC](https://discuss.elastic.co/t/kibana-7-4-plugin-document-ready-event/204725/2 "2019-10-22T20:11:00Z")

</div>

@joshdover this looks like a platform question. Can we please get help here?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 19, 2019, 8:11pm UTC](https://discuss.elastic.co/t/kibana-7-4-plugin-document-ready-event/204725/3 "2019-11-19T20:11:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
