<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[jquery module not working --- need help!]]></title><description><![CDATA[<p dir="auto">Ok, so I wrote this program: <a href="https://codepen.io/justjim1220/pen/dapLPo?editors=1000" target="_blank" rel="noopener noreferrer nofollow ugc">https://codepen.io/justjim1220/pen/dapLPo?editors=1000</a></p>
<p dir="auto">And in CodePen, it works perfectly.</p>
<p dir="auto">But I have attempted to convert it over to be a MagicMirror module:</p>
<p dir="auto"><a href="https://github.com/justjim1220/MMM-KitchenTimer" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/justjim1220/MMM-KitchenTimer</a></p>
<p dir="auto">it shows up exactly as it should, BUT, none of the buttons work.<br />
I get the hover action, and even the click action, but the buttons don’t do anything else.<br />
Plus, I don’t get any errors in dev console.</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://forum.magicmirror.builders/topic/9710/jquery-module-not-working-need-help</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:48:01 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9710.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Feb 2019 04:10:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to jquery module not working --- need help! on Thu, 07 Feb 2019 01:13:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a> yeh, his use of jQuery is not against the HTML as u were doing, but against data items returned from other sources.</p>
]]></description><link>https://forum.magicmirror.builders/post/51731</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51731</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 07 Feb 2019 01:13:40 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 23:33:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a><br />
I really like the changes you’ve made with this Recipe Module!!! :winking_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/51726</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51726</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Wed, 06 Feb 2019 23:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 22:36:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
LOL!<br />
I merged a pull request from <a class="plugin-mentions-user plugin-mentions-a" href="/user/seann" aria-label="Profile: Seann">@<bdi>Seann</bdi></a> :face_with_tears_of_joy:<br />
I am going through it right now to see what he did.<br />
And, I am going through the changes you made with the VideoPlayer2 module.</p>
<p dir="auto">With what you have taught me and with the changes to the Video Player and the Kitchen timer,<br />
I am gonna try to apply this to a few other programs I have ready to convert from JQuery.</p>
<p dir="auto">I am also going through <a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a>’s Recipe module to see how to get JQuery to actually work with MM.</p>
<p dir="auto">Today, I am spending time RE-LEARNING javascript and how to apply it to MM modules. :upside-down_face: :upside-down_face: :upside-down_face:</p>
<p dir="auto">Maybe it will steer me away from JQuery in the future! :winking_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/51724</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51724</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Wed, 06 Feb 2019 22:36:12 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 22:29:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a> I’d like to see what you did.</p>
]]></description><link>https://forum.magicmirror.builders/post/51723</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51723</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Feb 2019 22:29:14 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 22:23:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a> How do I mark this as SOLVED?</p>
]]></description><link>https://forum.magicmirror.builders/post/51722</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51722</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Wed, 06 Feb 2019 22:23:43 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 22:20:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a> Thanks! I will do that! :winking_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/51721</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51721</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Wed, 06 Feb 2019 22:20:01 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 22:20:34 GMT]]></title><description><![CDATA[<p dir="auto">You can’t just go copy something and plug it in… you have to have an understanding of how it works…  <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> gave a REALLY great explanation.</p>
<p dir="auto">You can load your jquery either with the above getScripts or you can do in the getDom … I have a few things working with jQuery…  go look at my MMM-Recipe module…for an example of how I did it.</p>
]]></description><link>https://forum.magicmirror.builders/post/51720</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51720</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Wed, 06 Feb 2019 22:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 04:55:41 GMT]]></title><description><![CDATA[<p dir="auto">MagicMirror is what is called a Single Page web application.  one html page.</p>
<p dir="auto">the base framework defines the page layout and regions. each module can contribute ITS little piece of content by returning the top element of that content starting with a div.</p>
<p dir="auto">the getDom module function is responsible for developing and returning that div tree.</p>
<p dir="auto">sometime AFTER the getdom function returns with the div object</p>
<pre><code>var wrapper=  document.createElement('div')
return wrapper
</code></pre>
<p dir="auto">the div will be inserted into the dom at the module defined location. (position)<br />
note that multiple modules may contribute to the same location, in a FIFO order. (as defined in config.js)<br />
element.appendChild(new_content_anchor)</p>
<p dir="auto">any code inside getDom() that attempts to locate elements by ID (search the single page dom) will FAIL,<br />
as the modules dom contribution has not been inserted until AFTER sometime getdom() returns the div element</p>
]]></description><link>https://forum.magicmirror.builders/post/51648</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51648</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Feb 2019 04:55:41 GMT</pubDate></item><item><title><![CDATA[Reply to jquery module not working --- need help! on Wed, 06 Feb 2019 04:41:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a>  we discussed this offline…</p>
<p dir="auto">the jquery code is executing inline of the getDom() function, and the element selectors</p>
<pre><code>$('#more')  is same as  (document.getElementById('more')) 
</code></pre>
<p dir="auto">will fail as the content is not IN the html document yet</p>
]]></description><link>https://forum.magicmirror.builders/post/51647</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51647</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Feb 2019 04:41:49 GMT</pubDate></item></channel></rss>