Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Browsing all 138134 articles
Browse latest View live

Set different dates to default date and actual value of Jquery datepicker

I have two datepicker fields with preselected dates, what I need to do is when user select any new date in the first datepicker then I need to change the default value of the second datepicker to...

View Article


Can not render a page from my dashboard page

I want to go to a message page from my dashboard at my webside, but it failed and when I try it from another page it renders completely.Here is my source code:... import { withRouter } from...

View Article


Nuxt and Vue support for IE11

I have a problem with supporting IE11 in application implemented in Vue and Nuxt. The application uses Tailwind CSS library.I created the polyfill with polyfill.io but it didn't solve the problem. I...

View Article

Angular 8 - PDF generation using jsPdf

Im using jsPdf to generate a PDF document which captures my html screen contents. I can see my downloaded PDF file in the download folder. Can we change the path where the PDF is getting downloaded?...

View Article

Firefox deletes persistent Cookies

I've been trying to get a html/js based Language selection system to work and I need a persistent cookie for it, which saves the choice of Language the user made, for a certain amount of time. Sadly...

View Article


I need to insert values into array 1 from array 2 if they match based upon...

I know that this type of question has been asked before for I'm at a stumbling point trying to get it finished if possible and I need to ask. I have two arrays:let arr1 = [{ "Last_Name": "Smith"),...

View Article

Date Split and remove of timezone

I have array which contains the following the dates { Mon Feb 17 2020 00:00:00 GMT+0530 (India Standard Time) ,Tue Feb 18 2020 00:00:00 GMT+0530 (India Standard Time) ,Wed Feb 19 2020 00:00:00 GMT+0530...

View Article

Highcharts remove space around boxplot

Is is possible to remove unnceccesary space on the chart that are extra value labels? I want the chart only consist of the plot values not the extra points on the axes. I tried adding plotOptions: {...

View Article


Image may be NSFW.
Clik here to view.

HighCharts - Disable Mouse Over when a Point is selected

I have the following two charts: The line chart is configured like this: highcharts = Highcharts; chartOptions = { chart: { type: "line" }, credits: { enabled: false }, title: { enabled: true, text:...

View Article


elements.style.backgroundColor returns undefined [duplicate]

I'm trying to use javascript to see if a class has a specific background color but every time I tried something it always returned undefined. I have tried a lot of things so I'm at a loss...

View Article

Get into 4 iframes one by one

I have 4 iframes and I need to fill an input in them one by one.This is my code:const elementHandleNum = await page.$(OrderDetails.iframeNumber); const frameNum = await elementHandleNum.contentFrame();...

View Article

Change to a new page, wait for it to load, then change to a third page

I am writing JavaScript to simulate myself clicking through links on a web page. I need to check if page is fully loaded after a link is clicked, before clicking on another link.In short, I need to do...

View Article

Can't understand regular expression in Javascript when match dates

so.. this is a part of an answer code to detect Hours and mintues in a given timefunction scheduleMeeting(startTime,durationMinutes) { var [ , meetingStartHour, meetingStartMinutes ] =...

View Article


Return MongoDB mongoose documents of last 24 hours in aggregate

How to return all the documents inserted within the last 24 hours in NodeJS mongoose using the created_at timestamp within the aggregation pipeline?

View Article

How to find and match a specific value in a JSON object array?

I've seen lots of similar questions, but nothing that seems to exactly match what I'm trying to do. I was able to get the code working, but I feel it needs to be refactored and I'm not sure how to do...

View Article


Image may be NSFW.
Clik here to view.

Conversion float into time in JS

I'm using Odoo ERP for web development and I have an issue with the time format. When I insert a time into the Odoo interface it's converted internally into another format, like is showed in the next...

View Article

.find cannot find pairs from within a array of objects (react/javascript)

I have a array of objects which has already been previously created. This array looks like this when console.logged. (14) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] 0:...

View Article


Google account login automate using puppeteer

I am using Puppeteer to automate a task which requires google account sign-in. In the beginning it was working properly... but now the google account login isn't working. Tried googling went through...

View Article

How do I make my custom toolbar button use the form's validation function in...

I created a custom Toolbar with a custom toolbar button. That custom button should act like the standard SaveButton but should do extra stuff after submitting the form. Submitting the form should only...

View Article

Large Angular app scrolling in IE11 is not smooth if listening for scroll events

I am working on large angular app and I have a couple of scroll listener to adjust positions. When user scroll in major browsers, all is good but in IE 11, the scrolling is delayed for about 2 seconds...

View Article
Browsing all 138134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>