<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>JavaScript</title>
    <description>Need help with the (primarily) client-side programming language?  This is the place.  Includes discussion on AJAX (Asynchronous JavaScript and XML).</description>
    <pubDate>Tue, 17 Mar 2026 11:43:11 +0000</pubDate>
    <lastBuildDate>Tue, 17 Mar 2026 11:43:11 +0000</lastBuildDate>
    <generator>Digital Point</generator>
    <link>https://forums.digitalpoint.com/forums/javascript.38/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://forums.digitalpoint.com/forums/javascript.38/index.rss"/>
    <item>
      <title>how to submit a form without rerload or redirect the page ?</title>
      <pubDate>Wed, 26 Nov 2025 07:31:53 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-submit-a-form-without-rerload-or-redirect-the-page.2151997/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-submit-a-form-without-rerload-or-redirect-the-page.2151997/</guid>
      <author>invalid@example.com (ramysarwat)</author>
      <dc:creator>ramysarwat</dc:creator>
      <content:encoded><![CDATA[i have a web page with multi forms how can i submit any of this forms without reload or redirect the page?<br />
<br />
i don&#039;t need to get the response from the target page any way<br />
<br />





<div class="bbCodeBlock bbCodeHtml">
	<pre class="line-numbers"><code class="language-markup" data-start="1">
&lt;form&gt;
&lt;input type=&quot;text&quot; name=&quot;text1&quot; /&gt;
&lt;input type=&quot;text&quot; name=&quot;text2&quot; /&gt;
&lt;input type=&quot;text&quot; name=&quot;text3&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit1&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit2&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit3&quot; /&gt;
&lt;/form&gt;

&lt;form&gt;
&lt;input type=&quot;text&quot; name=&quot;text1&quot; /&gt;
&lt;input type=&quot;text&quot;...</code></pre>
	<div class="type">HTML:</div>
</div><a href="https://forums.digitalpoint.com/threads/how-to-submit-a-form-without-rerload-or-redirect-the-page.2151997/" target="_blank" class="internalLink">how to submit a form without rerload or redirect the page ?</a>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>node js server side: How can I import d3 and make it available?</title>
      <pubDate>Wed, 23 Jul 2025 13:48:50 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/node-js-server-side-how-can-i-import-d3-and-make-it-available.2883583/</link>
      <guid>https://forums.digitalpoint.com/threads/node-js-server-side-how-can-i-import-d3-and-make-it-available.2883583/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[<b><span style="color: #b30000">I am trying to produce a png image of a word cloud using node js and d3-cloud.</span></b><br />
<br />
I&#039;ve got a Debian 11 server running node js.<br />
I have installed d3: /usr/lib/node_modules/d3 using npm -g for global use.<br />
I have also installed d3-cloud: /usr/lib/node_modules/d3-cloud using npm -g for global use..<br />
<br />
I have looked in the /usr/lib/node_modules folder and both d3-cloud and d3 folders are inside it. I looked in the d3 folder and it does have a package.json and a...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/node-js-server-side-how-can-i-import-d3-and-make-it-available.2883583/" target="_blank" class="internalLink">node js server side: How can I import d3 and make it available?</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How do I handle menus that include elements out of viewport?</title>
      <pubDate>Wed, 18 Jun 2025 19:24:42 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-do-i-handle-menus-that-include-elements-out-of-viewport.2883507/</link>
      <guid>https://forums.digitalpoint.com/threads/how-do-i-handle-menus-that-include-elements-out-of-viewport.2883507/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[I have a menu of ul and li elements.<br />
The menu is built using javascript and document.createElement.<br />
<br />
Multiple levels of sub menus (li -&gt; ul) may exist.<br />
If root li is above 3/4 of window.innerHeight, sub ul&#039;s top = 0 (bDropUp = false).<br />
Otherwise sub ul&#039;s bottom = 0 (bDropUp = true) so it drops up, not down.<br />
<br />
If not bDropUp the browser will extend the page as needed so I think that&#039;s acceptable.<br />
<br />
BUT if bDropUp and part of the menu is above the viewport top that part of the menu becomes...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-do-i-handle-menus-that-include-elements-out-of-viewport.2883507/" target="_blank" class="internalLink">How do I handle menus that include elements out of viewport?</a>]]></content:encoded>
      <slash:comments>8</slash:comments>
    </item>
    <item>
      <title>How can I find out how far above the page an element is positioned?</title>
      <pubDate>Wed, 18 Jun 2025 18:10:47 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-can-i-find-out-how-far-above-the-page-an-element-is-positioned.2883508/</link>
      <guid>https://forums.digitalpoint.com/threads/how-can-i-find-out-how-far-above-the-page-an-element-is-positioned.2883508/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[Basically, I&#039;ve got an li in a dropup menu that is above the page top.<br />
I&#039;m using el.getBoundingClientRect().top and it&#039;s returning a number much greater (after Math.abs) than where the element is actually positioned.<br />
<br />
I add padding to the top of the page to see where the element is actually positioned.<br />
<br />
The element is about 150 pixels above the top of the page visually but getBoundingClientRect is returning over 400 for the element&#039;s top. <br />
The page&#039;s scrollY is 0 so it&#039;s not a scrolling...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-can-i-find-out-how-far-above-the-page-an-element-is-positioned.2883508/" target="_blank" class="internalLink">How can I find out how far above the page an element is positioned?</a>]]></content:encoded>
    </item>
    <item>
      <title>javascript framework</title>
      <pubDate>Wed, 12 Mar 2025 13:01:14 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/javascript-framework.2841844/</link>
      <guid>https://forums.digitalpoint.com/threads/javascript-framework.2841844/</guid>
      <author>invalid@example.com (arto8)</author>
      <dc:creator>arto8</dc:creator>
      <content:encoded><![CDATA[<b><span style="font-size: 26px">All glory to the Lord God</span></b><br />
<br />
Hello,<br />
<br />
<b>With God&#039;s Mercy, I am developing new javascript framework and want to present</b><br />
<br />
<b>login: admin,<br />
password: admin<br />
<br />
http://81.16.8.98:8088/?language=en<br />
</b><br />
In this framework basis putted solutions and design patterns that provide theoretically developing large projects easy without drooping down maintenance. Codes become stable, reliable, strong, easy supported, flexible.<br />
<br />
stay with God]]></content:encoded>
      <slash:comments>72</slash:comments>
    </item>
    <item>
      <title>Did the Javascript Gods Destroy Manual Input on the JQuery DatePicker?</title>
      <pubDate>Tue, 11 Mar 2025 10:40:29 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/did-the-javascript-gods-destroy-manual-input-on-the-jquery-datepicker.2882610/</link>
      <guid>https://forums.digitalpoint.com/threads/did-the-javascript-gods-destroy-manual-input-on-the-jquery-datepicker.2882610/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[I&#039;ve used a JQuery datepicker for some time now.<br />
I&#039;ve never had a problem entering the date manually instead of using the datepicker.<br />
I have jquery-ui-min.js on my server - so jquery has not changed.<br />
<br />
I recently found that I can no longer enter dates manually when I install the datepicker on a field. I tried to manually set the attribute &quot;disabled&quot; to false on the input immediately after setting the datepicker: $(&quot;#TaskMgrTaskSchStartDate&quot;).datepicker(); .<br />
When I did that the datepicker...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/did-the-javascript-gods-destroy-manual-input-on-the-jquery-datepicker.2882610/" target="_blank" class="internalLink">Did the Javascript Gods Destroy Manual Input on the JQuery DatePicker?</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>I need a barebones text editor</title>
      <pubDate>Fri, 13 Dec 2024 02:05:01 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/i-need-a-barebones-text-editor.2881211/</link>
      <guid>https://forums.digitalpoint.com/threads/i-need-a-barebones-text-editor.2881211/</guid>
      <author>invalid@example.com (sarahk)</author>
      <dc:creator>sarahk</dc:creator>
      <content:encoded><![CDATA[What&#039;s the lightest text editor that people are using in their admin sections?<br />
<br />
I just need it to be able to accept unicode and to be able to tack on a character counter.]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Deploying a React Application with Nginx on Ubuntu</title>
      <pubDate>Thu, 21 Nov 2024 08:09:12 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/deploying-a-react-application-with-nginx-on-ubuntu.2881704/</link>
      <guid>https://forums.digitalpoint.com/threads/deploying-a-react-application-with-nginx-on-ubuntu.2881704/</guid>
      <author>invalid@example.com (MivoCloud)</author>
      <dc:creator>MivoCloud</dc:creator>
      <content:encoded><![CDATA[You can quickly deploy React applications to a server using the default Create React App build tool. The build script compiles the application into a single directory containing all of the JavaScript code, images, styles, and HTML files. With the assets in a single location, you can deploy to a web server with minimal configuration.<br />
<br />
In this tutorial, you’ll deploy a React application on your local machine to an Ubuntu 20.04 server running Nginx.<br />
<br />
<iframe src="//www.youtube.com/embed/WKfmhgYQlCM?html5=1" width="500" height="300" frameborder="0" allowfullscreen=""></iframe>...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/deploying-a-react-application-with-nginx-on-ubuntu.2881704/" target="_blank" class="internalLink">Deploying a React Application with Nginx on Ubuntu</a>]]></content:encoded>
    </item>
    <item>
      <title>How can I force sequential execution on 2 simultaneous requests?</title>
      <pubDate>Sat, 06 Jul 2024 13:34:50 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-can-i-force-sequential-execution-on-2-simultaneous-requests.2880669/</link>
      <guid>https://forums.digitalpoint.com/threads/how-can-i-force-sequential-execution-on-2-simultaneous-requests.2880669/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[I&#039;ve got an input form with 2 inputs.<br />
Each input value (not the whole form) is sent to the server immediately after it&#039;s set.<br />
I can pretty much make both inputs submit simultaneously.<br />
I fill in the text box and without leaving (blur) I click a checkbox.<br />
<br />
The server gets the second request before it can process the first.<br />
The second needs an ID that is generated during the processing of the first.<br />
The second is so quick that it precedes the generation of the ID so it thinks it&#039;s the first and...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-can-i-force-sequential-execution-on-2-simultaneous-requests.2880669/" target="_blank" class="internalLink">How can I force sequential execution on 2 simultaneous requests?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>what is wrong with this code because it did not work?</title>
      <pubDate>Wed, 10 Apr 2024 19:16:30 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/what-is-wrong-with-this-code-because-it-did-not-work.2878792/</link>
      <guid>https://forums.digitalpoint.com/threads/what-is-wrong-with-this-code-because-it-did-not-work.2878792/</guid>
      <author>invalid@example.com (mohammed gorashy)</author>
      <dc:creator>mohammed gorashy</dc:creator>
      <content:encoded><![CDATA[<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">if (typeof ActiveXObject !== &quot;undefined&quot;) {
var adoconn = New ActiveXobject(&quot;ADODB.Connection&quot;);
var adors = New ActiveXObject(&quot;ADODB.Recordset&quot;);
adoconn.open(&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source =&#039;/\book.mdb&#039;&quot;);
adors.open(&quot;beginner&quot;,adoconn,1,3);
var str = adors.fields(&quot;questions&quot;).value;
window.alert(str)
}</code></pre>
	<div class="type">Code (markup):</div>
</div>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>Best way to handle 'click' for multiple devices?</title>
      <pubDate>Sun, 28 Jan 2024 18:56:55 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/best-way-to-handle-click-for-multiple-devices.2879607/</link>
      <guid>https://forums.digitalpoint.com/threads/best-way-to-handle-click-for-multiple-devices.2879607/</guid>
      <author>invalid@example.com (SoftLink)</author>
      <dc:creator>SoftLink</dc:creator>
      <content:encoded><![CDATA[An html element can be clicked, touched, etc. depending on the device using it.<br />
Is there any way to handle them all without them crashing into each other?<br />
<br />
I used onpointerup but the label&#039;s for doesn&#039;t trigger it.<br />
Also, I need to pass the input element to the function.<br />
I have hundreds of these so I&#039;m looking for a general solution.<br />
<br />
When I use onpointerup on a radio or checkbox input and the user checks it, the onpointerup function reads it as false. If the user clicks it again, it&#039;ll read...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/best-way-to-handle-click-for-multiple-devices.2879607/" target="_blank" class="internalLink">Best way to handle &#039;click&#039; for multiple devices?</a>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>Why javascript/jquery code does not work on android devices?</title>
      <pubDate>Fri, 26 Jan 2024 19:27:32 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/why-javascript-jquery-code-does-not-work-on-android-devices.2878489/</link>
      <guid>https://forums.digitalpoint.com/threads/why-javascript-jquery-code-does-not-work-on-android-devices.2878489/</guid>
      <author>invalid@example.com (mstdmstd)</author>
      <dc:creator>mstdmstd</dc:creator>
      <content:encoded><![CDATA[On laravel 8.83 / jquery 3.6.0 app when user clicked on action button and ajax response returned new value is set<br />
(groupedNewsUserActionsCount of response)<br />
into div with id = &quot;#total_actions_&quot; + newsId + &quot;_&quot; + action + &quot;_label&quot;  and to assign class &#039;news-user-reactions-item-voted&#039; into block<br />
I do it with a code :<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-javascript" data-start="1">    $.ajax({
        type: &quot;POST&quot;,
        dataType: &quot;json&quot;,
        url: &quot;/news/react&quot;,
        data: {&quot;_token&quot;: &quot;{{ csrf_token() }}&quot;, &quot;newsId&quot;: newsId, &quot;action&quot;:...</code></pre>
	<div class="type">Code (JavaScript):</div>
</div><a href="https://forums.digitalpoint.com/threads/why-javascript-jquery-code-does-not-work-on-android-devices.2878489/" target="_blank" class="internalLink">Why javascript/jquery code does not work on android devices?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>Looking for example multiple drag en drop</title>
      <pubDate>Mon, 20 Nov 2023 21:30:00 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/looking-for-example-multiple-drag-en-drop.2879066/</link>
      <guid>https://forums.digitalpoint.com/threads/looking-for-example-multiple-drag-en-drop.2879066/</guid>
      <author>invalid@example.com (EricBruggema)</author>
      <dc:creator>EricBruggema</dc:creator>
      <content:encoded><![CDATA[Hi there,<br />
<br />
For a project wich im working on i&#039;m looking for an example in javascript to do the following.<br />
<br />
Example: you have a couple of divs that you can select, when selected i want to drag them all to a drop zone, is this possible and yes how? anyone have any example?]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Can't highlight a single word on this webpage in Firefox</title>
      <pubDate>Sun, 10 Sep 2023 16:52:02 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/cant-highlight-a-single-word-on-this-webpage-in-firefox.2878367/</link>
      <guid>https://forums.digitalpoint.com/threads/cant-highlight-a-single-word-on-this-webpage-in-firefox.2878367/</guid>
      <author>invalid@example.com (Victor6799)</author>
      <dc:creator>Victor6799</dc:creator>
      <content:encoded><![CDATA[Hi All,<br />
<br />
I&#039;m semi-new to javascript so I hopefully won&#039;t get lost on suggested answers. I have a website that I&#039;m trying to figure out why I cannot left click and drag to highlight a single word. The webpage won&#039;t let me. Can someone explain how the web developer was able to accomplish this ? Thanks in advance.<br />
<br />
Here is the webpage:<br />
<br />
https://www.minimalismmadesimple.com/home/self-validation/]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Save a page instead of openning it</title>
      <pubDate>Tue, 22 Aug 2023 13:01:23 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/save-a-page-instead-of-openning-it.2877948/</link>
      <guid>https://forums.digitalpoint.com/threads/save-a-page-instead-of-openning-it.2877948/</guid>
      <author>invalid@example.com (rochdi70)</author>
      <dc:creator>rochdi70</dc:creator>
      <content:encoded><![CDATA[Hi Guys,<br />
<br />
We normally use window.open to open a page or a popup window (window.open(URTL), is there a way intead makint call to open we make it to save to a file path (eg.c:\temp) using that page url instead of opening it to the screen?<br />
<br />
<br />
<br />
<br />
Thanks]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Please help me and ChatGPT to rewrite this Javascript Function</title>
      <pubDate>Sat, 29 Jul 2023 12:18:06 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/please-help-me-and-chatgpt-to-rewrite-this-javascript-function.2878190/</link>
      <guid>https://forums.digitalpoint.com/threads/please-help-me-and-chatgpt-to-rewrite-this-javascript-function.2878190/</guid>
      <author>invalid@example.com (ColinK)</author>
      <dc:creator>ColinK</dc:creator>
      <content:encoded><![CDATA[Hi<br />
<br />
I have wasted several hours with ChatGPT trying to get a JavaScript Function to work. I would appreciate your help.<br />
<br />
Note I am a &quot;Copy and Paste&quot; coder so have limited skills in fixing ChatGPT errors.<br />
<br />
The function copied below correctly finds and formats matching pairs of words in boxes 2 to 5 that exist in box1<br />
Box1 contains HTML Text<br />
Boxes 2 to 5 contain one string per line enclised in &lt;div&gt;&#039;s<br />
<br />
eg<br />
Following two strings are in box 1 and 2<br />
&quot;two words&quot;<br />
&quot;this is four words&quot;<br />
(it correctly...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/please-help-me-and-chatgpt-to-rewrite-this-javascript-function.2878190/" target="_blank" class="internalLink">Please help me and ChatGPT to rewrite this Javascript Function</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Change the 'SameSite' cookie property</title>
      <pubDate>Sat, 29 Jul 2023 11:39:02 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/change-the-samesite-cookie-property.2878278/</link>
      <guid>https://forums.digitalpoint.com/threads/change-the-samesite-cookie-property.2878278/</guid>
      <author>invalid@example.com (Alex100)</author>
      <dc:creator>Alex100</dc:creator>
      <content:encoded><![CDATA[Can someone please tell me how I can change the SameSite cookie property (to None) for all the cookies written by a website?<br />
<br />
I injected the script below into the google.com website (using Tampermonkey), but it only changed one or two cookies, not all of them. Moreover, Google creates cookies under two addresses (&#039;www.google.com&#039; and &#039;.google.com&#039;), but the script did not change any cookie found under the &#039;.google.com&#039; domain name.<br />
<br />
Thank you!<br />
<br />
Alex<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-javascript" data-start="1">// ==UserScript==
//...</code></pre>
	<div class="type">Code (JavaScript):</div>
</div><a href="https://forums.digitalpoint.com/threads/change-the-samesite-cookie-property.2878278/" target="_blank" class="internalLink">Change the &#039;SameSite&#039; cookie property</a>]]></content:encoded>
    </item>
    <item>
      <title>Why on my page with youtube video scrolling of my page does not work?</title>
      <pubDate>Fri, 21 Jul 2023 23:53:31 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/why-on-my-page-with-youtube-video-scrolling-of-my-page-does-not-work.2878171/</link>
      <guid>https://forums.digitalpoint.com/threads/why-on-my-page-with-youtube-video-scrolling-of-my-page-does-not-work.2878171/</guid>
      <author>invalid@example.com (mstdmstd)</author>
      <dc:creator>mstdmstd</dc:creator>
      <content:encoded><![CDATA[On my page of laravel 8 / blade / jquery 3.6 I show youtube video by youtube_key field I got from server :<br />
<br />
<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;iframesrc=&quot;https://www.youtube.com/embed/{{ $news-&gt;youtube_key }}&quot;title=&quot;YouTube video player&quot; frameborder=&quot;0&quot;allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot;allowfullscreen&gt;&lt;/iframe&gt;</code></pre>
	<div class="type">PHP:</div>
</div><br />
and opened page show youtube video ok, but when I try to scroll up or down scrolling with a mouse wheel on my page does not work...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/why-on-my-page-with-youtube-video-scrolling-of-my-page-does-not-work.2878171/" target="_blank" class="internalLink">Why on my page with youtube video scrolling of my page does not work?</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Get a list of available printers</title>
      <pubDate>Tue, 20 Jun 2023 11:18:04 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/get-a-list-of-available-printers.2877938/</link>
      <guid>https://forums.digitalpoint.com/threads/get-a-list-of-available-printers.2877938/</guid>
      <author>invalid@example.com (rochdi70)</author>
      <dc:creator>rochdi70</dc:creator>
      <content:encoded><![CDATA[Hi guys,<br />
<br />
How can I get the list of printer in client page?<br />
<br />
We currently use an ActivexObject call &quot;MSDesign.WebLabel&quot; to get the list of printer loaded in a dropdown :<br />
<br />
     webControl = new ActiveXObject(&quot;MSDesign.WebLabel&quot;);<br />
             if (webControl!=null) printers = webControl.getPrinters();<br />
and this will give us a list of printers available in client machine but this does work in Edge or Chrome, is there a tool or simple code that I can use to get me the list of printers available?...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/get-a-list-of-available-printers.2877938/" target="_blank" class="internalLink">Get a list of available printers</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>How to make an input box enable for only past dates and for the startdate if it falls in the current</title>
      <pubDate>Sat, 17 Jun 2023 02:21:16 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-make-an-input-box-enable-for-only-past-dates-and-for-the-startdate-if-it-falls-in-the-current.2877882/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-make-an-input-box-enable-for-only-past-dates-and-for-the-startdate-if-it-falls-in-the-current.2877882/</guid>
      <author>invalid@example.com (asifakhtar)</author>
      <dc:creator>asifakhtar</dc:creator>
      <content:encoded><![CDATA[How to make an input box enable for only past dates and for the startdate that if it falls in the current month in JavaScript.<br />
<br />
The input box should be disabled for the future dates and for the startdate if it falls in the current month and the current year.<br />
<br />
I have implemented the function but not sure the following logic will work for every scenario.<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">const globalPendingStatusIDL3 = &quot;76070&quot;;

const check_IsExternalUser_And_PendingStatusL3 = (statusID = null, startDate = null) =&gt; {...</code></pre>
	<div class="type">Code (markup):</div>
</div><a href="https://forums.digitalpoint.com/threads/how-to-make-an-input-box-enable-for-only-past-dates-and-for-the-startdate-if-it-falls-in-the-current.2877882/" target="_blank" class="internalLink">How to make an input box enable for only past dates and for the startdate if it falls in the current</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>How to Open Link in New Window Without Showing URL Bar</title>
      <pubDate>Thu, 15 Jun 2023 22:54:49 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-open-link-in-new-window-without-showing-url-bar.189354/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-open-link-in-new-window-without-showing-url-bar.189354/</guid>
      <author>invalid@example.com (successfirst)</author>
      <dc:creator>successfirst</dc:creator>
      <content:encoded><![CDATA[Does anyone know the code to open a new window with the URL bar hidden when a link is clicked?<br />
<br />
Thanks]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>How to create a JSON array with values from DOM(HTML TABLE) when I click a button using JQuery/Javas</title>
      <pubDate>Sun, 21 May 2023 10:17:30 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-create-a-json-array-with-values-from-dom-html-table-when-i-click-a-button-using-jquery-javas.2877542/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-create-a-json-array-with-values-from-dom-html-table-when-i-click-a-button-using-jquery-javas.2877542/</guid>
      <author>invalid@example.com (asifakhtar)</author>
      <dc:creator>asifakhtar</dc:creator>
      <content:encoded><![CDATA[I have to save/batch update all rows where any rows’ input or select elements contains class bg-warning or save all rows where row’s id contains “trScholar_evt” with a button click. I want to create a JOSN array in the following format using JavaScript or jQuery. My JSON array contains information about the rows and all columns.<br />
<br />
//Need a JOSN array in the following format<br />
<br />
const data =<br />
[<br />
  {<br />
  &quot;row_ID&quot;: &quot;trScholar_11085716&quot;,<br />
  &quot;row_Data_Attributes&quot;: [{&quot;recordid&quot;: &quot;11085716&quot;, &quot;ownerid&quot;:...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-to-create-a-json-array-with-values-from-dom-html-table-when-i-click-a-button-using-jquery-javas.2877542/" target="_blank" class="internalLink">How to create a JSON array with values from DOM(HTML TABLE) when I click a button using JQuery/Javas</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>convert from reading an array to reading from a database in javascript</title>
      <pubDate>Mon, 15 May 2023 18:08:51 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/convert-from-reading-an-array-to-reading-from-a-database-in-javascript.2877673/</link>
      <guid>https://forums.digitalpoint.com/threads/convert-from-reading-an-array-to-reading-from-a-database-in-javascript.2877673/</guid>
      <author>invalid@example.com (devohio)</author>
      <dc:creator>devohio</dc:creator>
      <content:encoded><![CDATA[Can someone please help me? the current code is reading through an array and im already storing this in a database. if i can read from the database, at lease i can save it and come back.. right now since its in an array, if i lose my connection or just leave and it times out, it doesnt save my progress. lines 514 and 515 are where its populating the highlighted areas. the first line with the score will be different. i already can pull that from the database, i just dont understand how to...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/convert-from-reading-an-array-to-reading-from-a-database-in-javascript.2877673/" target="_blank" class="internalLink">convert from reading an array to reading from a database in javascript</a>]]></content:encoded>
    </item>
    <item>
      <title>Help me with JavaScript</title>
      <pubDate>Wed, 10 May 2023 17:34:53 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/help-me-with-javascript.2877403/</link>
      <guid>https://forums.digitalpoint.com/threads/help-me-with-javascript.2877403/</guid>
      <author>invalid@example.com (AshleyLiz)</author>
      <dc:creator>AshleyLiz</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
I want to add new recipes to the list, WITHOUT changing of the HTML-file and CSS-file.<br />
<br />
Add your own recipes<br />
The user must be able to add their own recipes to the list. You should therefore create a small interface with input of title and recipe text. When the recipe is saved, the recipe must be added to the list of recipes and to the recipe menu. The recipe is automatically saved using localStorage , loaded again when the page is reloaded and placed in the correct place among the...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/help-me-with-javascript.2877403/" target="_blank" class="internalLink">Help me with JavaScript</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Javascript Checkbutton help</title>
      <pubDate>Mon, 17 Apr 2023 05:51:26 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/javascript-checkbutton-help.2870472/</link>
      <guid>https://forums.digitalpoint.com/threads/javascript-checkbutton-help.2870472/</guid>
      <author>invalid@example.com (Jon@30442)</author>
      <dc:creator>Jon@30442</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
I&#039;m having some trouble with a portion of code I am writing. The code works the first time round, but then becomes unresponsive on one part.<br />
<br />
What I am trying to have is the following...<br />
<br />
<b>Enter a value</b> in the input field, check box gets ticked.<br />
<b>Untick checkbox</b>. clears value in the input field<br />
<b>Tick checkbox</b> , sets a value in the input field<br />
<b>Untick checkbox</b>. clears value in the input field<br />
<br />
<b>Enter a value</b> in the input field, check box gets ticked....<br />
<br />
<a href="https://forums.digitalpoint.com/threads/javascript-checkbutton-help.2870472/" target="_blank" class="internalLink">Javascript Checkbutton help</a>]]></content:encoded>
      <slash:comments>20</slash:comments>
    </item>
    <item>
      <title>I can't check a checkbox because it has no ID</title>
      <pubDate>Fri, 10 Feb 2023 18:56:44 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/i-cant-check-a-checkbox-because-it-has-no-id.2876701/</link>
      <guid>https://forums.digitalpoint.com/threads/i-cant-check-a-checkbox-because-it-has-no-id.2876701/</guid>
      <author>invalid@example.com (Alex100)</author>
      <dc:creator>Alex100</dc:creator>
      <content:encoded><![CDATA[Please take a quick look at this web page...<br />
<br />
https://www.gurufocus.com/stock/AAPL/chart<br />
<br />
At its left side you will see a list of checkboxes (starting with &#039;Price&#039;, &#039;Revenue&#039;, &#039;Net Income&#039;, ...). I would like to write a javascript that will automatically check the &#039;PS Ratio&#039; checkbox when the page finishes loading. I can inject the script using Tampermonkey.<br />
<br />
The problem is those checkboxes on the left do not have any kind of ID, so I do not know how to call them and change their status. I...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/i-cant-check-a-checkbox-because-it-has-no-id.2876701/" target="_blank" class="internalLink">I can&#039;t check a checkbox because it has no ID</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Validate password field HELP</title>
      <pubDate>Thu, 09 Feb 2023 02:38:58 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/validate-password-field-help.2876695/</link>
      <guid>https://forums.digitalpoint.com/threads/validate-password-field-help.2876695/</guid>
      <author>invalid@example.com (Elbrain)</author>
      <dc:creator>Elbrain</dc:creator>
      <content:encoded><![CDATA[<span style="color: rgb(20, 20, 20)">Please i need to validate the password field this way, must contain atleast one uppercase letter, lowercase, number.</span><br />
please i need this to be in someway this format not in jquery cause i have other if statement for other fields.<br />
Not a JS Expert tho.<br />
Thanks <br />
if(!/^[a-zA-Z]*$/g.test(document.regForm.password.value)) {<br />
alert(&quot;Password must contain an Alphabet(Upper ), Number,&quot;);<br />
document.regForm.lastname.focus();<br />
return false;<br />
}]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>How to have a Smooth/Fast scroll in mobile popup window?</title>
      <pubDate>Thu, 26 Jan 2023 15:00:59 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-have-a-smooth-fast-scroll-in-mobile-popup-window.2876556/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-have-a-smooth-fast-scroll-in-mobile-popup-window.2876556/</guid>
      <author>invalid@example.com (dGarden)</author>
      <dc:creator>dGarden</dc:creator>
      <content:encoded><![CDATA[My website https://harfrooz.com opens articles in a popup window. Everything is OK on the PC. But on mobile devices, after I open an article in the popup window, scrolling up/down doesn’t move smoothly and it’s slow. I have no idea how to fix this. <br />
Help please]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How can I remove text(e.g ["88664734","88639280","88676217"]) from a strReviewers string using JavaS</title>
      <pubDate>Sun, 15 Jan 2023 23:57:50 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-can-i-remove-text-e-g-88664734-88639280-88676217-from-a-strreviewers-string-using-javas.2876060/</link>
      <guid>https://forums.digitalpoint.com/threads/how-can-i-remove-text-e-g-88664734-88639280-88676217-from-a-strreviewers-string-using-javas.2876060/</guid>
      <author>invalid@example.com (asifakhtar)</author>
      <dc:creator>asifakhtar</dc:creator>
      <content:encoded><![CDATA[How can I remove text(e.g [&quot;88664734&quot;,&quot;88639280&quot;,&quot;88676217&quot;]) from a strReviewers string which contains list of Reviewers separated by semicolon and then join the whole string again either using JavaScript or jQuery?<br />
<br />
I get a dynamic string(strReviewers) which contains multiple user records separated by comma:<br />
<br />
I need to remove whole user record if I pass an array of ids. e.g [&quot;88664734&quot;,&quot;88639280&quot;,&quot;88676217&quot;]<br />
<br />
var strReviewers = &quot;88664734*,*Andrew...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-can-i-remove-text-e-g-88664734-88639280-88676217-from-a-strreviewers-string-using-javas.2876060/" target="_blank" class="internalLink">How can I remove text(e.g [&quot;88664734&quot;,&quot;88639280&quot;,&quot;88676217&quot;]) from a strReviewers string using JavaS</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>setInterval / setTimeout   Not consistantly working</title>
      <pubDate>Wed, 04 Jan 2023 12:54:28 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/setinterval-settimeout-not-consistantly-working.2876296/</link>
      <guid>https://forums.digitalpoint.com/threads/setinterval-settimeout-not-consistantly-working.2876296/</guid>
      <author>invalid@example.com (jpny)</author>
      <dc:creator>jpny</dc:creator>
      <content:encoded><![CDATA[I have a page that is a dashboard for several IOT devices. The page auto-refreshes every 10 min. I often leave the page open in my browser for days at a time. When the computer wakes from sleep it takes the network card a few extra seconds to fully wake up, so I added a timer check that adds another 10 seconds if the page has not been refreshed in over 12 min (indicating that is was in sleep mode).<br />
<br />
This has been working fine for years. Now suddenly after the computer wakes up 50% of the...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/setinterval-settimeout-not-consistantly-working.2876296/" target="_blank" class="internalLink">setInterval / setTimeout   Not consistantly working</a>]]></content:encoded>
      <slash:comments>9</slash:comments>
    </item>
    <item>
      <title>Selecting Dynamic Content By Class</title>
      <pubDate>Tue, 27 Dec 2022 18:40:38 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/selecting-dynamic-content-by-class.2876265/</link>
      <guid>https://forums.digitalpoint.com/threads/selecting-dynamic-content-by-class.2876265/</guid>
      <author>invalid@example.com (Jeremy Benson)</author>
      <dc:creator>Jeremy Benson</dc:creator>
      <content:encoded><![CDATA[I’m having issues figuring out my code. I have a point place screen for character development in my game. There are arrows for piping up a stat. I’d like to remove the arrows if character points are depleted. The first issue I’m facing is selecting class name .scorePipArrow to remove them, with dynamic content. There are too many nested elements with attributes to be bothered writing them in JavaScript and element at a time, and  I don’t know if the hard work would pay off as the solution....<br />
<br />
<a href="https://forums.digitalpoint.com/threads/selecting-dynamic-content-by-class.2876265/" target="_blank" class="internalLink">Selecting Dynamic Content By Class</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Jquery/javascript else statement not working</title>
      <pubDate>Wed, 21 Dec 2022 09:22:05 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/jquery-javascript-else-statement-not-working.2876271/</link>
      <guid>https://forums.digitalpoint.com/threads/jquery-javascript-else-statement-not-working.2876271/</guid>
      <author>invalid@example.com (battista)</author>
      <dc:creator>battista</dc:creator>
      <content:encoded><![CDATA[Hi there,<br />
<br />
I am trying to learn a javascript framework named &quot;pikajs&quot;; it seems based on jquery.<br />
<br />
But as I am progressing, I am encountering a problem and can&#039;t get around it.<br />
<br />
Here is the code, in case somebody may help, please:<br />
<br />





<div class="bbCodeBlock bbCodeHtml">
	<pre class="line-numbers"><code class="language-markup" data-start="1">&lt;html xml:lang=&quot;fr&quot; lang=&quot;fr&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
&lt;script src=&quot;pika-min.js&quot;&gt;&lt;/script&gt;
&lt;style&gt;
b{display:block;margin-top:50px;}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;div id=&quot;content&quot;&gt;

&lt;b...</code></pre>
	<div class="type">HTML:</div>
</div><a href="https://forums.digitalpoint.com/threads/jquery-javascript-else-statement-not-working.2876271/" target="_blank" class="internalLink">Jquery/javascript else statement not working</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Convert strConflictedYesReviewers data into a single object which is grouped by ownerid and then gro</title>
      <pubDate>Wed, 21 Dec 2022 08:24:36 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/convert-strconflictedyesreviewers-data-into-a-single-object-which-is-grouped-by-ownerid-and-then-gro.2876176/</link>
      <guid>https://forums.digitalpoint.com/threads/convert-strconflictedyesreviewers-data-into-a-single-object-which-is-grouped-by-ownerid-and-then-gro.2876176/</guid>
      <author>invalid@example.com (asifakhtar)</author>
      <dc:creator>asifakhtar</dc:creator>
      <content:encoded><![CDATA[Convert strConflictedYesReviewers data into a single object which is grouped by ownerid first and then groupby opportunityid which contains array of response.<br />
<br />
I get a dynamic string(strConflictedYesReviewers) which contains multiple user recordswhere each record is separated by semicolon and then each record represents ownerid and opportunityid separated by asterisk.<br />
<br />
const strConflictedYesReviewers =...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/convert-strconflictedyesreviewers-data-into-a-single-object-which-is-grouped-by-ownerid-and-then-gro.2876176/" target="_blank" class="internalLink">Convert strConflictedYesReviewers data into a single object which is grouped by ownerid and then gro</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Keypress function</title>
      <pubDate>Tue, 20 Dec 2022 17:52:16 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/keypress-function.2876294/</link>
      <guid>https://forums.digitalpoint.com/threads/keypress-function.2876294/</guid>
      <author>invalid@example.com (btboff)</author>
      <dc:creator>btboff</dc:creator>
      <content:encoded><![CDATA[Hello, my goal is to simulate keyboard presses in JavaScript and send them at regular intervals in the text input of messaging application.<br />
However, not being a professional of JavaScript, I face several problems in my program below :<br />
<br />
1) Being sure that the keystroke simulation is triggered.<br />
2) Apply the right input format for the application, in my program I have &quot;windows&quot; but it triggers an error in the execution of the program because it does not run in an HTML page.<br />
3) Finally, send the...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/keypress-function.2876294/" target="_blank" class="internalLink">Keypress function</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>RegEx: Two of (Newline + Whitespace) + alphanumeric. Can't get it!</title>
      <pubDate>Sat, 03 Dec 2022 23:39:03 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/regex-two-of-newline-whitespace-alphanumeric-cant-get-it.2876158/</link>
      <guid>https://forums.digitalpoint.com/threads/regex-two-of-newline-whitespace-alphanumeric-cant-get-it.2876158/</guid>
      <author>invalid@example.com (johnywhy)</author>
      <dc:creator>johnywhy</dc:creator>
      <content:encoded><![CDATA[I thought one of these would work, but none of them work. Starting with my favorite:<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">

// 2 or more ( newline + 0 or more (spaces or tabs) )
//     + any alphanumeric
const gRecordDelim = /(\n[ \t]*){2,}(?=\w)/g;

// const gRecordDelim = /(\n[ \t]*\n)/g;
// const gRecordDelim = /(\n[ \t]*){2,}(?=[A-Za-z0-9])/g;
// const gRecordDelim = /(\n[ \t]*){2,}\n/g;
// const gRecordDelim = /\n{2,}/g;
// const gRecordDelim = /([ \t]*\n[ \t]*){2,}/g;
</code></pre>
	<div class="type">Code (markup):</div>
</div>It&#039;s a split pattern in javascript:...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/regex-two-of-newline-whitespace-alphanumeric-cant-get-it.2876158/" target="_blank" class="internalLink">RegEx: Two of (Newline + Whitespace) + alphanumeric. Can&#039;t get it!</a>]]></content:encoded>
    </item>
    <item>
      <title>Automatic price or product carousel (kind of)</title>
      <pubDate>Wed, 30 Nov 2022 05:08:44 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/automatic-price-or-product-carousel-kind-of.2876127/</link>
      <guid>https://forums.digitalpoint.com/threads/automatic-price-or-product-carousel-kind-of.2876127/</guid>
      <author>invalid@example.com (chino999)</author>
      <dc:creator>chino999</dc:creator>
      <content:encoded><![CDATA[Hi, i&#039;m trying to create some animations on my website that looks like a carousel <br />
You can see what i&#039;m trying to achieve with the links below<br />
<br />
basically, i would like each square to become bigger,  the animation to occur <b>automatically, not on hover</b> and gradually (1 goes ahead, then goes back, 2 goes after and then 3 and it repeats to infinite )<br />
Link to animation 1 example<br />
https://www.loom.com/share/8358d0c8536d40688882e940ddb5f04c<br />
<br />
for the second animation, it would be the same...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/automatic-price-or-product-carousel-kind-of.2876127/" target="_blank" class="internalLink">Automatic price or product carousel (kind of)</a>]]></content:encoded>
    </item>
    <item>
      <title>JavaScript Cheat Sheet PDF 2022-2023</title>
      <pubDate>Sun, 20 Nov 2022 19:13:45 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/javascript-cheat-sheet-pdf-2022-2023.2876029/</link>
      <guid>https://forums.digitalpoint.com/threads/javascript-cheat-sheet-pdf-2022-2023.2876029/</guid>
      <author>invalid@example.com (DevHub)</author>
      <dc:creator>DevHub</dc:creator>
      <content:encoded><![CDATA[Javascript is one of the most popular programming languages used by web developers. This comprehensive cheat sheet will help you learn a little bit about it every day. <br />
<br />
If you are a beginner or intermediate in javascript and want to learn javascript in a very simple manner, then you can go through the following javascript cheat sheet.<br />
<br />
JavaScript is a programming language that is used to create client-side and server-side web applications.  This cheat sheet for web developers explains the...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/javascript-cheat-sheet-pdf-2022-2023.2876029/" target="_blank" class="internalLink">JavaScript Cheat Sheet PDF 2022-2023</a>]]></content:encoded>
    </item>
    <item>
      <title>Cordova Apps is Dead?</title>
      <pubDate>Sat, 19 Nov 2022 13:13:15 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/cordova-apps-is-dead.2876012/</link>
      <guid>https://forums.digitalpoint.com/threads/cordova-apps-is-dead.2876012/</guid>
      <author>invalid@example.com (ashrafnarail)</author>
      <dc:creator>ashrafnarail</dc:creator>
      <content:encoded><![CDATA[Do you thing Cordova Mobile Apps  will be dead next? What will be next features of cordova?]]></content:encoded>
    </item>
    <item>
      <title>Support science and help your favorite charity by participating in a short online experiment.</title>
      <pubDate>Wed, 12 Oct 2022 06:42:46 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/support-science-and-help-your-favorite-charity-by-participating-in-a-short-online-experiment.2875733/</link>
      <guid>https://forums.digitalpoint.com/threads/support-science-and-help-your-favorite-charity-by-participating-in-a-short-online-experiment.2875733/</guid>
      <author>invalid@example.com (Lukas1)</author>
      <dc:creator>Lukas1</dc:creator>
      <content:encoded><![CDATA[Hi<br />
<br />
We are researchers from the University of Zurich, Switzerland, and developed a web application experiment for investigating ways to improve code review. If you have <b>server side</b> <b>javascript</b> knowledge, please help us in this <b>20 – 30 minutes</b> experiment by using the desktop version of a browser: https://review.ifi.uzh.ch/<br />
<br />
To thank you, we will <b>donate 5 USD</b> to the charity of your choice.<br />
<br />
We are very grateful if you share the link with colleagues and make them...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/support-science-and-help-your-favorite-charity-by-participating-in-a-short-online-experiment.2875733/" target="_blank" class="internalLink">Support science and help your favorite charity by participating in a short online experiment.</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Problem with searching a string containing brackets</title>
      <pubDate>Wed, 28 Sep 2022 15:23:42 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/problem-with-searching-a-string-containing-brackets.2875597/</link>
      <guid>https://forums.digitalpoint.com/threads/problem-with-searching-a-string-containing-brackets.2875597/</guid>
      <author>invalid@example.com (zak100)</author>
      <dc:creator>zak100</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
I am using a string containing brackets as an argument to search. I am getting following error:<br />
Using network &#039;development&#039;.<br />
<br />
SyntaxError: Invalid regular expression: /send(/: Unterminated group<br />
  at String.search (&lt;anonymous&gt;)<br />
  at module.exports (/home/zulfi/Truffle_programs/js_search_opcode_js/search_sendb.js:15:22)<br />
  at Object.exec (/home/zulfi/.nvm/versions/node/v10.23.3/lib/node_modules/truffle/build/webpack:/packages/require/require.js:127:1)<br />
  at Promise (internal/util.js:274:30)...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/problem-with-searching-a-string-containing-brackets.2875597/" target="_blank" class="internalLink">Problem with searching a string containing brackets</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Replace &lt;head&gt;&lt;/head&gt; in html</title>
      <pubDate>Fri, 12 Aug 2022 00:18:55 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/replace-head-head-in-html.2875146/</link>
      <guid>https://forums.digitalpoint.com/threads/replace-head-head-in-html.2875146/</guid>
      <author>invalid@example.com (PunitJain)</author>
      <dc:creator>PunitJain</dc:creator>
      <content:encoded><![CDATA[How might I replace head tag in html with my own provided code using cheerio?<br />
The html structure: <br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;Example&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

Example html doc......

&lt;/body&gt;
&lt;/html&gt;</code></pre>
	<div class="type">Code (markup):</div>
</div>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Re-mapping an array.</title>
      <pubDate>Fri, 15 Jul 2022 16:17:56 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/re-mapping-an-array.2875027/</link>
      <guid>https://forums.digitalpoint.com/threads/re-mapping-an-array.2875027/</guid>
      <author>invalid@example.com (Lammie71)</author>
      <dc:creator>Lammie71</dc:creator>
      <content:encoded><![CDATA[Can anyone show me how I can re-map an array using the following criteria.<br />
<br />
For example I have two arrays:<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-javascript" data-start="1">
arr1 = [201,188,123,140,172,142,85,731];
arr2 = [3,0,7,1,2,4];</code></pre>
	<div class="type">Code (JavaScript):</div>
</div>I wish to create a new array using the values on arr2 as the indexes on arr1.<br />
For example arr1[arr2[0]] would be 140 and so on.<br />
<br />
Final output of the new array would [140,201,731,188,123,172];<br />
<br />
For a small amount of numbers I could use push but arr1 and arr2 could potentially have a lot of numbers....<br />
<br />
<a href="https://forums.digitalpoint.com/threads/re-mapping-an-array.2875027/" target="_blank" class="internalLink">Re-mapping an array.</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Search a array of objects</title>
      <pubDate>Mon, 11 Jul 2022 17:26:07 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/search-a-array-of-objects.2874951/</link>
      <guid>https://forums.digitalpoint.com/threads/search-a-array-of-objects.2874951/</guid>
      <author>invalid@example.com (Lammie71)</author>
      <dc:creator>Lammie71</dc:creator>
      <content:encoded><![CDATA[I have the following code:<br />
<br />
teams = [];<br />
teams[0] = new Object();<br />
teams[0].name = &quot;Man Utd&quot;;<br />
teams[0] = [];<br />
teams[0][0] = new Object();<br />
teams[0][0].wins = 2;<br />
teams[0][0].defeats = [];<br />
teams[0][0].defeats[0] = [3,9,2,1];<br />
teams[0][0].pts = 4;<br />
<br />
teams[1] = new Object();<br />
teams[1].name = &quot;Man City&quot;;<br />
teams[1] = [];<br />
teams[1][0] = new Object();<br />
teams[1][0].wins = 2;<br />
teams[1][0].defeats = [];<br />
teams[1][0].defeats[0] = [8,7,3];<br />
teams[1][0].pts = 12;<br />
<br />
How can I search for the array defeats for each team...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/search-a-array-of-objects.2874951/" target="_blank" class="internalLink">Search a array of objects</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>How can i do this using javascript array and loop</title>
      <pubDate>Wed, 06 Jul 2022 00:44:59 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-can-i-do-this-using-javascript-array-and-loop.2874878/</link>
      <guid>https://forums.digitalpoint.com/threads/how-can-i-do-this-using-javascript-array-and-loop.2874878/</guid>
      <author>invalid@example.com (neilfurry)</author>
      <dc:creator>neilfurry</dc:creator>
      <content:encoded><![CDATA[hi,<br />
<br />
i have this problem. Is there a way i can create this using javascript loop and array.<br />
<br />


	<a href="https://forums.digitalpoint.com/attachments/270390/" target="_blank">View attachment 270390</a>
	
<br />
<br />
as you can see, when i input 19,433.33 it will be subtracted by 1,766.67, then the difference will be displayed to the right which is 17,666.67, then subtracted again by 1,766.67. it will just do this until it reaches 0.00<br />
<br />
Can you enlighten me on how this will work using array and loop in javascript?<br />
<br />
Thank  you]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Detect Chrome on Android</title>
      <pubDate>Mon, 04 Jul 2022 00:45:01 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/detect-chrome-on-android.2874877/</link>
      <guid>https://forums.digitalpoint.com/threads/detect-chrome-on-android.2874877/</guid>
      <author>invalid@example.com (energylevels)</author>
      <dc:creator>energylevels</dc:creator>
      <content:encoded><![CDATA[How do you expand this to detect specifically Chrome on Android? thanks<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">     var ua = navigator.userAgent;
    if (ua.indexOf(&quot;Android&quot;) &gt;= 0) {
   //Android detected
   }</code></pre>
	<div class="type">Code (markup):</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>How can I return Observable of IEmployees with productName from allProducts$ in RXJS?</title>
      <pubDate>Tue, 21 Jun 2022 20:53:15 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-can-i-return-observable-of-iemployees-with-productname-from-allproducts-in-rxjs.2874778/</link>
      <guid>https://forums.digitalpoint.com/threads/how-can-i-return-observable-of-iemployees-with-productname-from-allproducts-in-rxjs.2874778/</guid>
      <author>invalid@example.com (asifakhtar)</author>
      <dc:creator>asifakhtar</dc:creator>
      <content:encoded><![CDATA[I want to return Observable from GetEmployeeByID function that has a matching productName from allProducts$:<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-javascript" data-start="1">allProducts$ = this.state$.pipe(
map(x =&gt; x.allProducts as IProducts[] || [] as IProducts[]),
distinctUntilChanged());

GetEmployeeByID(Id: number): Observable&lt;IEmployees&gt; {
return this.allEmployees$.pipe(
map(res =&gt; &lt;IEmployees&gt;res.find(data =&gt; data.id === Id) ?? { id: -1, name: &quot;N/A&quot;, email: &quot;N/A&quot;, gender: &quot;N/A&quot;, productid: -1, productName: &quot;N/A&quot; } as IEmployees),...</code></pre>
	<div class="type">Code (javascript):</div>
</div><a href="https://forums.digitalpoint.com/threads/how-can-i-return-observable-of-iemployees-with-productname-from-allproducts-in-rxjs.2874778/" target="_blank" class="internalLink">How can I return Observable of IEmployees with productName from allProducts$ in RXJS?</a>]]></content:encoded>
    </item>
    <item>
      <title>pass by reference not working using 2d array variable</title>
      <pubDate>Sat, 18 Jun 2022 23:36:31 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/pass-by-reference-not-working-using-2d-array-variable.2874604/</link>
      <guid>https://forums.digitalpoint.com/threads/pass-by-reference-not-working-using-2d-array-variable.2874604/</guid>
      <author>invalid@example.com (zak100)</author>
      <dc:creator>zak100</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
<br />
I am passing an empty 2d array in a function. Function is storing some value in the 2d array. But when the function returns, I can&#039;t print that value. Following is my code:<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-javascript" data-start="1">
const path = require(&quot;path&quot;);
const fs = require(&quot;fs&quot;);
module.exports = async function(callback)
{
try {
let argStr = [[],[]]
let argStr2 = &quot;address to, uint amount&quot;
find_the_arguments(argStr, argStr2)
console.log(&quot;outside argStr[0][0]&quot;+argStr[0][0])
console.log(&quot;outside argStr[0][1]&quot;+argStr[0][1])...</code></pre>
	<div class="type">Code (JavaScript):</div>
</div><a href="https://forums.digitalpoint.com/threads/pass-by-reference-not-working-using-2d-array-variable.2874604/" target="_blank" class="internalLink">pass by reference not working using 2d array variable</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Retrieve data from website</title>
      <pubDate>Tue, 10 May 2022 14:44:00 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/retrieve-data-from-website.2874446/</link>
      <guid>https://forums.digitalpoint.com/threads/retrieve-data-from-website.2874446/</guid>
      <author>invalid@example.com (gurunathblessings)</author>
      <dc:creator>gurunathblessings</dc:creator>
      <content:encoded><![CDATA[I am studying Astrology.<br />
<br />
I am trying to download some data from<br />
<br />
https://www.chaosastrologer.com/freeastrologycharts.cfm<br />
<br />
After clicking the following<br />
<br />
<b>Astrological Ephemerides</b><br />
<br />
it will go to another page<br />
<br />
https://www.chaosastrologer.com/astroform/ephemeris.cfm<br />
<br />
Once the &quot;Click Once&quot; is pressed, the data will be shown as 1 whole page in<br />
<br />
https://www.chaosastrology.com/chaos1/reports/runastro_c.cgi<br />
<br />
If you were to refer to the attachment,<br />
<br />
I only require the highlighted data to be...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/retrieve-data-from-website.2874446/" target="_blank" class="internalLink">Retrieve data from website</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Save Tab State - HTML5 localStorage</title>
      <pubDate>Thu, 05 May 2022 05:08:06 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/save-tab-state-html5-localstorage.2874435/</link>
      <guid>https://forums.digitalpoint.com/threads/save-tab-state-html5-localstorage.2874435/</guid>
      <author>invalid@example.com (energylevels)</author>
      <dc:creator>energylevels</dc:creator>
      <content:encoded><![CDATA[Can anyone help me out with saving the last tab state in the event someone leaves the page and returns ... thanks in advance<br />
<br />





<div class="bbCodeBlock bbCodeHtml">
	<pre class="line-numbers"><code class="language-markup" data-start="1">                    &lt;div class=&quot;container&quot;&gt;
                        &lt;div class=&quot;bar blue&quot;&gt;
                                &lt;button class=&quot;bar-item button tablink red&quot; onclick=&quot;openTab(event,&#039;Summary&#039;)&quot;&gt;Summary&lt;/button&gt;
                                &lt;button class=&quot;bar-item button tablink&quot; onclick=&quot;openTab(event,&#039;Finance&#039;)&quot;&gt;Finance&lt;/button&gt;...</code></pre>
	<div class="type">HTML:</div>
</div><a href="https://forums.digitalpoint.com/threads/save-tab-state-html5-localstorage.2874435/" target="_blank" class="internalLink">Save Tab State - HTML5 localStorage</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>drop down menu for beginners</title>
      <pubDate>Mon, 25 Apr 2022 23:25:06 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/drop-down-menu-for-beginners.2874364/</link>
      <guid>https://forums.digitalpoint.com/threads/drop-down-menu-for-beginners.2874364/</guid>
      <author>invalid@example.com (rabbitman)</author>
      <dc:creator>rabbitman</dc:creator>
      <content:encoded><![CDATA[I am learning Javascript right now and am looking to start as soon as possible, but I don&#039;t know where to begin.<br />
<br />
In my mind I would like the user experience to be as simple as possible; focused on the centre of the screen, on a single drop down menu, of which when a choice is selected that menu visually slides out of the way (so the user doesn&#039;t feel disoriented), as a new one slides in, and so forth, until the selections are exhausted.<br />
<br />
What should I look into to achieve this please ?]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
  </channel>
</rss>
