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

trying to build my ionic application with --prod but it doesn´t work

i tried the whole time to build my project with ionic build android --prod but i get always the same error:enter image description hereand when i add IonicApp to my App.Module then i get following...

View Article


How to get the children of the $(this) selector?

I have a layout similar to this:<div id="..."><img src="..."></div> and would like to use a jQuery selector to select the child img inside the div on click.To get the div, I've got...

View Article


Image may be NSFW.
Clik here to view.

Shiny merge cells in DT::table on two or more columns

Similar to this question: Shiny: Merge cells in DT::datatableI was wondering if there was a way to merge on two or more columns. In the example below only duplicate rows in column 1 are merged, what if...

View Article

When I use chrome.runtime.sendMessage it generates error handling response?

Here is the code in my popup.js:$(function() { let color = $("input").val(); $("input").on("change paste keyup", function(){ color = $(this).val(); }); $("button").click(function() {...

View Article

Javascript to hide a popup

I have this script to show a popup as the page loads:$(function () { var overlay = $('<div id="overlay"></div>'); overlay.show(); overlay.appendTo(document.body); $('.popup').show();...

View Article


Selectively close individual child python processes, on demand, from jquery...

My problem is selectively and cleanly (or at all) stopping a child process, without terminating the main parent process, from a client side web browser jquery event. My example code is below. Flask is...

View Article

Handlebar template not rendering links using custom javascript file

Please go easy on me. I have some understanding of javascript and html in general but this is more a hobby for me. I have spent the last 2 days trying to look up this issue but have not been able to...

View Article

Get an JSON invalid error trying to create a sharepoint document library with...

This is a part of my code, the problem is when I try to use an special character like an spanish accent in the title property. It work fine with normal characters. const jsonData = JSON.stringify({...

View Article


load image as prop in react-native

so I have a customHeader component where I am trying to load images into like so <Image source={props.logoImg} style={styles.icon} />and on the page I'll pass in the prop like so<CustomHeader...

View Article


Find word in string using RegEx javascript

How can I make a search function using regEx? I have some code but can't post it at the moment due to my computer being very broken and annoying, I will try again tomorrow!

View Article

Image may be NSFW.
Clik here to view.

Get key/value pairs of children

I'm trying to populate a map with key/value pairs of the data from my firebase database. Here's my database structure:The highest level fields under recipes/ are the uID's, and the fields within those...

View Article

issue with counting digits of a number

Here is a code to count the digits of a given number.There are two issues with this code that I can't fix without a hand:First: If we have the function like count(502.1000); the output for decimals...

View Article

Edit function in Wordpress to add id AutoNumber for heading

I have a function in wordpress to add id= AutoNumber for heading in content: function anchor_content_headings($content) { $content =...

View Article


removing duplicates error, array[x] is not defined

I am trying to remove duplicates from data passed on from the Node. The function to fetch the data is: getProducts(_) { const dev = "http://localhost:3008/api" fetch(dev) .then(res => res.json())...

View Article

Vue: Array with data is overfilled on pagination

I am having a wierd issue with pagination on VueThe code below makes a call to server to retrieve paginated datafindSprints(offset) { this.$store.dispatch('findSprints', { projectId: this.prId, offset:...

View Article


node.js require cannot find custom module

Here is the project structure:/ app.js package.json /node_modules /app config.json /frontend assets and html tpls /modules couch.js raeume.js users.js I require config.json, raeume.js and users.js from...

View Article

Error when communicating with the native messaging host- Java

So I am learning about Native messaging with chrome extension using Java. I got the following error while testing the app: Error when communicating with the native messaging host. I wasn't sure what...

View Article


disable a selected option in a datalist, and this selected option is not...

I am trying to make a datalist, I want that when I select an option it is disabled in the other datalist that I have, in total I have two lists of data<input list="list1"> <datalist...

View Article

Using Javascript .find() seems to be doing some weird coercion I can't seem...

I'm trying to collect all the objects from DATA and compare to schemesFromPOI. If the name is AMERICAN_EXPRESS I want to change it to AMEX in the scheme object only, preserving the DATA object. const...

View Article

find free memory available in client machine using angularJs or javascript

we have a requirements in AngularJS(angular1) to find what is free Ram memory available in client machine only in IE based on free memory we have to execute some processing or pause current running...

View Article
Browsing all 139833 articles
Browse latest View live


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