<?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>JQuery version and dependencies</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112607429" />
  <subtitle>JQuery version and dependencies</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112607429</id>
  <updated>2026-04-05T15:17:50Z</updated>
  <dc:date>2026-04-05T15:17:50Z</dc:date>
  <entry>
    <title>RE: JQuery version and dependencies</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112621814" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112621814</id>
    <updated>2019-03-07T13:18:20Z</updated>
    <published>2019-03-07T13:18:20Z</published>
    <summary type="html">&lt;blockquote&gt;Fernando FernandezI know it&amp;#39;s not what you want but I think jquery-ui is not adequate for modern, responsive UIs so you could consider moving to a bootstrap-based lib.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;&lt;br /&gt;Fernando&lt;/blockquote&gt;&lt;br /&gt;Thanks Fernando, I may explore bootstrap and see if it works with Legacy code. I was able to create a JSFiddle that uses jquery-ui version 1.12.1 and jQuery 3.3.1. And it works fine. The dialog pops up and I can click things within it. I&amp;#39;m not sure why it&amp;#39;s not working within Liferay 7.1. When I used the same combo in Liferay 7.1 I got some javascript errors pointing to incompatibility between the two. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;https://jsfiddle.net/8xw291hs/2/</summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-03-07T13:18:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: JQuery version and dependencies</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112609112" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112609112</id>
    <updated>2019-03-06T21:13:28Z</updated>
    <published>2019-03-06T21:13:28Z</published>
    <summary type="html">I know it&amp;#39;s not what you want but I think jquery-ui is not adequate for modern, responsive UIs so you could consider moving to a bootstrap-based lib.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;&lt;br /&gt;Fernando</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2019-03-06T21:13:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: JQuery version and dependencies</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112608448" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112608448</id>
    <updated>2019-03-06T20:59:02Z</updated>
    <published>2019-03-06T20:59:02Z</published>
    <summary type="html">&lt;blockquote&gt;Fernando FernandezHi Kevin,&lt;br /&gt;&lt;br /&gt;Try this: &lt;a href="https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-1/using-external-javascript-libraries"&gt;https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-1/using-external-javascript-libraries&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;HTH&lt;br /&gt;&lt;br /&gt;Fernando&lt;/blockquote&gt;Yep, already did that. I was able to get it to avoid those javascript errors by specifying an old version of query. I know that Liferay comes with jquery 3.3.1 but there are incompatibilities with that version and jquery-ui 1.12.1, which I believe is the newest version. &lt;br /&gt;&lt;br /&gt;When I use the combination jquery-2.2.4.min.js and jquery-ui-1.12.1.min.js, the javascript errors don&amp;#39;t occur but when the modal pops up there are no mouse actions. I can only use the tabs and arrows to select content within the popup. </summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-03-06T20:59:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: JQuery version and dependencies</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112608109" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112608109</id>
    <updated>2019-03-06T20:51:45Z</updated>
    <published>2019-03-06T20:51:45Z</published>
    <summary type="html">Hi Kevin,&lt;br /&gt;&lt;br /&gt;Try this: &lt;a href="https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-1/using-external-javascript-libraries"&gt;https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-1/using-external-javascript-libraries&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;HTH&lt;br /&gt;&lt;br /&gt;Fernando</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2019-03-06T20:51:45Z</dc:date>
  </entry>
  <entry>
    <title>JQuery version and dependencies</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112607428" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112607428</id>
    <updated>2019-03-06T19:24:50Z</updated>
    <published>2019-03-06T19:24:50Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello, I am currently converting a 6.2 Liferay application into a 7.1 Liferay application. I see that Liferay 7.1 has jQuery already included and it's version 3.3.1. Is this correct? Within my portal_normal.ftl of my custom theme I'm including the following javascript and css files. I am using a couple of widgets that aren't loading for some reason, namely a multiselect widget. And for some reason the dialog function in the jquery-ui isn't loading either. I'm getting the errors:&lt;br&gt;&lt;br&gt;Uncaught TypeError: $(...).dialog is not a function&lt;br&gt;Uncaught TypeError: $(...).multiselect is not a function&lt;br&gt;&lt;br&gt;These javascript errors cause the page load to hang. Since I don't have to include jQuery for this version of Liferay, what do I have to do to at least get the jquery-ui.js to work? I think that $(..).dialog is in the jquery-ui.min-1.12.1.js, so I'm not sure what's happening.&amp;nbsp;&lt;br&gt;&lt;br&gt;portal_normal.ftl&lt;br&gt;&lt;pre&gt;&lt;code&gt;
    &amp;lt;title&amp;gt;${the_title} - ${company_name}&amp;lt;/title&amp;gt;

    &amp;lt;meta content="initial-scale=1.0, width=device-width" name="viewport"&amp;gt;

    &amp;amp;lt;@liferay_util["include"] page=top_head_include /&amp;amp;gt;

    &amp;lt;script src="${javascript_folder}/jquery-ui.min-1.12.1.js"&amp;gt;&amp;lt;/script&amp;gt;

    &amp;lt;script src="${javascript_folder}/jquery.multiselect.js"&amp;gt;&amp;lt;/script&amp;gt;
    
    &amp;lt;!-- CSS Files --&amp;gt;
    &amp;lt;link rel="stylesheet" href="${css_folder}/jquery.dynatable.css"&amp;gt;
    &amp;lt;link rel="stylesheet" href="${css_folder}/jquery-ui-1.12.1.css"&amp;gt;
    &amp;lt;link rel="stylesheet" href="${css_folder}/jquery.multiselect.css"&amp;gt;

 &lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2019-03-06T19:24:50Z</dc:date>
  </entry>
</feed>
