<?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>how can i use jquery and debug in liferay 7.4</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121465004" />
  <subtitle>how can i use jquery and debug in liferay 7.4</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121465004</id>
  <updated>2026-04-05T20:16:34Z</updated>
  <dc:date>2026-04-05T20:16:34Z</dc:date>
  <entry>
    <title>RE: RE: how can i use jquery and debug in liferay 7.4</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121488294" />
    <author>
      <name>Scarletake Bwi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121488294</id>
    <updated>2022-08-03T05:58:22Z</updated>
    <published>2022-08-03T05:58:21Z</published>
    <summary type="html">&lt;p&gt;thank you very much, i will try it out and feedback the result&lt;/p&gt;</summary>
    <dc:creator>Scarletake Bwi</dc:creator>
    <dc:date>2022-08-03T05:58:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can i use jquery and debug in liferay 7.4</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121477410" />
    <author>
      <name>Lee Jordan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121477410</id>
    <updated>2022-07-25T20:19:15Z</updated>
    <published>2022-07-25T20:19:14Z</published>
    <summary type="html">&lt;p&gt;jQuery is disabled by default. For 7.4 turn it on in Control Panel
  &amp;gt; System Settings &amp;gt; Third Party &amp;gt; jQuery&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/jquery-deafult-off.png/925690d2-0e99-17a6-ed79-9cd54694eb88?t=1658780349749&amp;amp;imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</summary>
    <dc:creator>Lee Jordan</dc:creator>
    <dc:date>2022-07-25T20:19:14Z</dc:date>
  </entry>
  <entry>
    <title>how can i use jquery and debug in liferay 7.4</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121465003" />
    <author>
      <name>Scarletake Bwi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121465003</id>
    <updated>2022-07-12T10:13:43Z</updated>
    <published>2022-07-12T10:13:42Z</published>
    <summary type="html">&lt;p&gt;hi &lt;/p&gt;
&lt;p&gt;i try use a js base on jqouery to show structurenize json.&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;

        #json-display {
            border: 1px solid #000;
            margin: 0;
            padding: 10px 20px;
        }
&amp;lt;/style&amp;gt;

&amp;lt;script src=&amp;quot;https://code.jquery.com/jquery-3.3.1.slim.min.js&amp;quot; integrity=&amp;quot;sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo&amp;quot; crossorigin=&amp;quot;anonymous&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;./dist/jquery.json-editor.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
	window.renderJson = function (targetJson) {
		alert('2');
		alert(targetJson);
	    try {
	    	var editor = new JsonEditor('#json-display', JSON.parse(targetJson));
	    	editor.load(JSON.parse(targetJson));
	      } catch (ex) {
	        alert(ex);
	      }
  }
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/Image+3+%286%29.png/8329daaa-8f1c-312b-dd07-50266194fc3d?t=1657620699275&amp;amp;imagePreview=1" /&gt;&lt;/p&gt;
&lt;p&gt;but when i trigger it, it shows&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;ReferenceError: JsonEditor is not defined&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;i do not know how to tracing the issue or debug, any suggestion?&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;br /&gt;  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Scarletake Bwi</dc:creator>
    <dc:date>2022-07-12T10:13:42Z</dc:date>
  </entry>
</feed>
