Questions tagged [javascript]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

Filter by
Sorted by
Tagged with
1
vote
0answers
8 views

Instagram videos downloader

I am working on downloading videos from Instagram. I have tried these two packages : https://www.npmjs.com/package/instagram-url-direct https://www.npmjs.com/package/instagram-save Example of ...
-2
votes
0answers
8 views

Can I change clothes of a character in threeJS?

I'm starting to work a project and I was wondering if there is a way to change clothing in threeJS. Like if you start off wearing a white tee and you find a white sweater, could you change the tee ...
0
votes
0answers
4 views

Dynamically load data into rmarkdown html output

Is there a way to have the data associated with and html output file generated via Rmarkdown be loaded dynamically (e.g., via javascript or ajax) when opening the html output? For instance, I have ...
0
votes
0answers
6 views

How to call JS function from original page when the browser tab is inactive? [duplicate]

I'm writing a Chrome extension .I want to call JS functions that are defined in the original page (tab) and this tab is inactive . Can anyone help me?
0
votes
0answers
7 views

using EnterpriceConnection.query returns in a "NoSuchClassException"

I'm trying to retrieve some info from Salesforce in my app. After I log in I've got a EnterpriseConnection connection Object. When I call connection.describeSObject("Project__c") then I ...
0
votes
0answers
27 views

How to return nothing from a React Component

In my React application to render component conditionally we are using following code: const ParentComponent = ({isAdmin)=> { return <SpecialComponent> <div> Content 1 <...
0
votes
2answers
24 views

Get the id of one of the many elements with the same class which reached the top

My HTML is something like <div id='the-div'> <span class='mspage' id='id1'></span> <span class='mspage' id='id2'></span> <span class='mspage' id='id3'></span> ...
0
votes
0answers
6 views

apexcharts - candlestick chart with extra line - how to change line color?

I'm plotting a candlestick chart with support lines in realtime using apexcharts and react-apexcharts. From everything that I've read in the docs, my plotted line color should not be the color that is ...
0
votes
0answers
5 views

pdf javascript validate field contains part of pure letter and pure numbers only

I want to check if Field1 is in the format of XXXX-0YYYY or XXXX-1YYYY where XXXX are letters only and YYYY are digits only note that after XXXX it should start with "-0" or "-1" ...
0
votes
1answer
6 views

Adding Sticky Footer for Drawer React Material UI

I am using React Material UI and I am trying to add a sticky footer to the drawer component. Here is the sandbox with the drawer added for reference - https://codesandbox.io/s/distracted-tree-nfqme?...
0
votes
0answers
21 views

get document from a html file which is not linked to the javascript file

i have a JS file with a function named "login" . I also have a html file but the JS cant be linked via <script> because it would destory the purpose of my script. The JS gets executed ...
-3
votes
2answers
30 views

Enable/Disable button depending on two conditions

I am trying to enable and disable a button based on two conditions. To enable it, both conditions must be met. The problem is that it activates when only one condition is met. I'm probably forgetting ...
0
votes
0answers
7 views

React testing library fails to check for disabled button

I'm using react-hook-form to control my form inputs (ChakraUI inputs) and disable Submit button in case an input is invalid Since I have a multipage form I use FormProvider in parent component, ...
0
votes
0answers
8 views

Indesign JavaScript Loop with findGrep

I'm tryin to combine an existing script I have which cuts the selected text and pastes it in a new anchored frame next to the main text frame with a GREP Find/Replace Query I have to select the ...
0
votes
0answers
5 views

Page data from page-data.json for the failed page "/"

I get this error when I run gatsby build. I have not used "document" in my code. Can someone explain what this means? ERROR Page data from page-data.json for the failed page "/": {...

15 30 50 per page
1
2 3 4 5
155092