<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.4 - How to add custom js after module load on page</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121897941" />
  <subtitle>Liferay 7.4 - How to add custom js after module load on page</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121897941</id>
  <updated>2026-04-05T03:40:27Z</updated>
  <dc:date>2026-04-05T03:40:27Z</dc:date>
  <entry>
    <title>Liferay 7.4 - How to add custom js after module load on page</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121897940" />
    <author>
      <name>Bhagwan khichar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121897940</id>
    <updated>2023-07-02T18:04:25Z</updated>
    <published>2023-07-01T16:42:45Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created module fregment for DMS and want to retrive some data
  from external API  and fill in some fields(tags text fileds) on page
  load. I am using ready funcation to execute custom javascript code
  but ready funcation executed before fields(tags text fileds) loaded on page.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Please suggest how to check all components loaded page then
    execute custom javascript code.&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Bhagwan khichar</dc:creator>
    <dc:date>2023-07-01T16:42:45Z</dc:date>
  </entry>
</feed>
