# My script is not working

**URL:** <https://meta.discourse.org/t/my-script-is-not-working/187902>\
**Category:** Development\
**Created:** [April 23, 2021, 1:07pm UTC](https://meta.discourse.org/t/my-script-is-not-working/187902 "2021-04-23T13:07:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [April 23, 2021, 1:25pm UTC](https://meta.discourse.org/t/my-script-is-not-working/187902/4 "2021-04-23T13:25:17Z")

</div>

It still works I guess for some use cases (the event will still fire) but if you want to do something intricate in a specific part of the interface I would not use such an event because it does not guarantee availability of some elements of the dom, unlike the ember hooks for components, for example.

---

_[View the full topic](https://meta.discourse.org/t/my-script-is-not-working/187902)._
