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

Trigger a function after opening a page

I am working on a website where users click on links to other websites. I am working with jquery I want to make a call to database ONLY when the page fully loads !. So this is where my code open a link...

View Article


html table id's are dynamic in nature for me to filter data based on dropdown...

I'm new to html & js. I'm leveraging render() function in python to convert a dataframe to html where I'm trying to add dropdown to the page. once the html page is generated, i'm finding table id...

View Article


Print a list of PDF files to Client's printer

I am writing a web application that will, amongst a lot of other things, produce a list of PDF files:public JsonResult BulkPrintExemptions() { List<FileContentResult> retValues = new...

View Article

How do I get a child element from a div without looping?

I have an element and that element is within a parent div. I want to see what the child id is of this element, preferably without looping. Any suggestions?

View Article

How do I convert a 13 digit number into a date without showing the time using...

So I'm trying to convert the following 13 digit to a readable date in the format of: m/dd/yyyy but the year is outputting incorrectly. I get the following output 6/3/48790. I would also like to only...

View Article


LitElement remove item from list

When the page first loads, the delete buttons generated by the code below work as expected. However, if you alter the text in one of the <textarea> elements, the delete button no longer works...

View Article

Filtering array confusion

I have two arrays. The first array contains a bunch of values, while the second one is empty. I have a search function that checks and sees if the value is in the first array, if it is it stays in the...

View Article

How to invert Javascript element bubble order?

I have created a custom Slider component that works perfectly except for one issue.If it is present in a modal, then the mouseUp event for it fires on it for all events below it (z-index-wise) before...

View Article


Intellij: Unable to have multiple library roots

I feel like I'm in a bit of a unique situation as I can't find any documentation on how to make this interaction work. I have a repository that houses a Flask app that will contain code compiled...

View Article


I need an example of synchronized charts using apex charts in angular

We are using apex charts with angular. I need to have an example of synchronized charts using apex charts with angular.

View Article

how to update an webpage based on the imput from that same webpage with only...

my plan is to create a webserver (via node.js), where you can input a suggestion for a date (featuring date, time, activity and who posted it) and a seperate list with possible activities. My problem...

View Article

Does Kotlin support anonymous objects like Javascript, Swift or Dart?

I'm curious to know if Kotlin has the same/kind of support for explicit maps of maps (like javascript objects). Swift already supports this as well as Dart, I think. I know Java doesn't so that might...

View Article

res.sendfile in Node Express with passing data along

Is there any way to redirect to an HTML file from a Node.JS application with something like: res.sendFile of express and pass a JSON data along to the html file?

View Article


Mxgraph overlay event listener broken after file save / load

I have the following code in my mxgraph project:var overlay = new mxCellOverlay( new mxImage(mxIcons.GREY.FILE_TEXT, 18, 18), null, mxConstants.ALIGN_RIGHT, mxConstants.ALIGN_TOP, new mxPoint(8, -8),...

View Article

Error no Jest: This usually means that you are trying to import a file which...

I'm trying to run Jest with React, I started the project with --create-react-app, then added --babel and after --jest, but when I run [yarn jest], this error is displayed on screen, can anyone help...

View Article


Is it possible to clone a Vuejs property on set?

I have a Vuejs component that edits various properties of its value object and emits an input event with a new object when things change. I don't want to modify the value object itself so I copy...

View Article

How to center vertically an image inside a div with js

I want to add in css top: x vh; where x is 50% of a div. In js I have calculated the height i need :var section = document.getElementById('section1').offsetHeight; var lastdiv =...

View Article


Integrating existing JS project to react project

I'm having a react project which i want to integrate an existing JS project from Github called BOTKit. Can someone please suggest a method/way

View Article

Need help making this function recursive

<!-- Grade Column (2.2) --> <div class="grade"> <!-- Grade Header (2.2.1) --> <div class="grade-header"> <h1>Grades</h1> </div> <!-- Grade Input (2.2.2)...

View Article

Erro no envio de formulário Ajax

Esse é o erro que aparece quando eu tento envia o forms de contato:{message: "Malformed UTF-8 characters, possibly incorrectly encoded",…} message: "Malformed UTF-8 characters, possibly incorrectly...

View Article
Browsing all 140071 articles
Browse latest View live


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