In a spreadsheet, I have a tab “CUSTOMERS” with values in the range B4:Q,. These values are imported from another spreadsheet with importrange. In C4:C of “CLIENTS”, there are the names of 3 products which correspond to the names of 3 other tabs (“DATA”, “EPHAD”…
Tag: javascript
trying to use switch with if else statement to make operations. but but syntax error appears?
i am a javascript beginner , tried to make a program to insert two inputs of numbers and insert an operator to make a mathematical function and make an alert if the input is not correct. i don’t know why a syntax error appears after case + and doesn’t work .is there other way to make the program? …
How access the original observed node by MutationObserver when subtree is true?
How can I access the original target node when using MutationObserver with options childList and subtree set to true? On the callbacks, the target is changed to whatever node has mutated, and this is expected as per the MDN documentation, but my intention is to always be able to look at the original node, so …
How can I add bootstrap ‘modal’ in fullCalander
Hi I’m making fullCalendar page for giving information of some events. When I click any date or event, my goal is give specific information. So I want to add bootstrap’s component ‘modal’ in fullCalendar. I searched much time.. but I couldn’t get solution for my problem. How can …
Why regex working in javascript but not as HTML5 pattern [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 6 m…
How to call a method as soon as a class is initialized in JavaScript
I have a class to create a user, when I add a init() function to the class which should be executed as soon as the class is initialized, it returns a SyntaxError. I followed this answer but get another SyntaxError Can anyone tell me what I am doing wrong, I want dob and age to be set on initialisation Answer
How to get an element inside a function javascript
I’m trying to use the value that each book has on its “status” and make the function “changeStatus()” run but “book.status” is defined inside a function, how can I get it? or is there any other way i can change the button behavior on click? I tried using a querySelect…
How can mixed number JSON inputs be converted to numbers using split() and reduce() in Node JS?
I am building a picture framing REST API calculator using Node JS. The code I’ve written for it is this: Therefore, the input JSON POST request would be, for example: The response would be: Width Cut = 3″, Height Cut = 1 3/4″ The problem I’m running into is that I can’t seem to f…
Component in vanilla Javascript?
I have tried to create to create a component in vanilla JavaScript here in main js file I am trying to call a function that is defined in a component and also I am expecting an output but it gives me error saying showMovies is not a function. Can anyone tell me what is right way to do so: Answer
convert array of json label in javascript
I have array of JSON like and want to convert it as Answer Try this please