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

Selenium seems to ignore timeout period and timeout message in driver.wait()

I'm having trouble getting custom error messages to work with driver.wait() in selenium (+ cucumber). The definition is driver.wait(condition, timeout, message) where condition is something like...

View Article


create variable by matching variable value to object value?

I'm attempting to create a variable that contains the value of an object. the variable eventDateValue below is what i'm struggling with. I'm trying to match the value of EventName to the object...

View Article


Knockoutjs not updating UI when programmatically updating an observable

Why is the dropdown not updating when I programmatically update the observable and open the modal? Here is all the code https://jsfiddle.net/krob636/jes9bvLw/119/Changing the observable updates the...

View Article

Investigation for a smooth and fast UI, doubts using Svelte 3

IssueI'm using Svelte 3 and the amazing svelte-spa-router (https://github.com/ItalyPaleAle/svelte-spa-router)!The question is not intended for exclusive use with this router.Many projects has heavy...

View Article

Image may be NSFW.
Clik here to view.

CSS: Depress Dropdown grouped with Radio Buttons

I'm using bootstrap to style a group of radio buttons that also include a dropdown. When the user selects an option from the dropdown OTHER is not included as one of the radio buttons, so it looks like...

View Article


How compare every element in a row in Pentaho

I have an Excel and there is an example of how it looks enter image description hereI am using Pentaho, with the purpose of create a new row(related to) in which I will show if a person have relation...

View Article

Image may be NSFW.
Clik here to view.

Replicate POSTMAN call to axios (emoji problem)

Good day friends,I have a problem since I am trying to make a post call to an api and the api does not receive my data if I do not string my data.The problem is that when converting my data into a...

View Article

Group JSON array by key value

Please help to combine object keys values from json arrays by key. const input=[{"Date":"04/10/2019","Time":"15:35","Title":"Flight -\u00a0Group C","Description":"Arrival 19:40" },...

View Article


Bypass x-frame-options deny/sameorigin like browsers

Yes, I know you basically can't overcome this issue. But still, I sure it solvable. I used my website already this script: https://github.com/niutech/x-frame-bypass. But it has some problems and I...

View Article


Return all objects in array

I'm missing something super obvious here so please excuse my ignorance :(I have a set of 5 checkboxes and would like to print out steps based on what checkbox was chosen. I'll need this for a bigger...

View Article

Right way to escape JSON data from django template

I want to pass a dictionary from django view to a javascript file. The dictionary is built from a database populated by site users. What's the difference between these 2 methods in terms of...

View Article

Manipulating jQuery to get an error: "jQuery requires a window and a document"

If anyone flicked through the uncompressed version of jQuery, one may encounter something like:if ( typeof module === "object"&& typeof module.exports === "object" ) { // For CommonJS and...

View Article

Refresh cache on App update not working - Vue, webpack, router split code

I apply lazy loading and code splitting in my vue appBut somehow when I update my code and I deploy it to production only some chunks are updated with a new hash. File Size Gzipped...

View Article


Image may be NSFW.
Clik here to view.

How to keep div x to the right of img its currently overlayed on using...

I am trying to create this (Black represents the div in my current code):Currently the div is not consistent in its placement, like I would like it to be (I would like it to be constantly ini the same...

View Article

How to find the common words between 2 strings and return those sorted...

I'm trying to resolve a dilemma in Javascript. I would like to find the common words between 2 strings. For example, I have the next strings "hello, world", "hello, earth" and the common word is...

View Article


Google maps marker delete function not invoked in ReactJS

I am trying to implement custom markers on google maps in my ReactJS application. Now that I got the markers, I would like to have an option to delete them. This is the code for placing and deleting...

View Article

Convert date/time format from Etc/GMT to ISO

I need to convert date/time values.For example I want to convert this "2019-11-21 09:53:10 Etc/GMT" to a value with the same format as this "2020-02-13T15:24:47.977Z". If you can provide the resulting...

View Article


This in codesandbox.io, use strict and not use strict

i am new to js. and I don’t really understand how this works. I have a few examples and they work differently in codesandbox.io, use strict and not use strict.example 1var obj = { id: "awesome", cool:...

View Article

jQuery UI add droppable event listener while hovering

I want to add droppable event listener while dragging one object and hovering droppable object.Here is my code:$('.will-be-drag').draggable({ helper: 'clone', drag: function (event, ui) {...

View Article

Remove current filter

I have a list of items wrapped in div that can either be filtered using drop down or input box. How do you remove the filter from input box before filtering using the drop down? It only affect when...

View Article
Browsing all 138134 articles
Browse latest View live


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