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

Bootstrap 3 Slider / Carousel, with multiple images with different size,...

This is related to a Carousel that contains multiple images that have a different size in width. Without resizing the images I wanted to set in a carousel and display the number of images according to...

View Article


Trying to create a color change application using the DOM in javascript

This is the Javascript Code. The HTML is just a button tag and the link to a specific stylesheet and the script. let color = ["#F1FF06", "#A5FF06", "#59FF06", "#FF6506", "#FF1E06", "#B0736C",...

View Article


Why can I not use my setter for a custom element in pure JS with Template?

I am fairly new to web components, and have been trying to figure out how the things work. When doing the recommended process of creating a template, then cloning it into my shadowRoot I can see them...

View Article

Adding Different Icons to each column of row at beginning inside the table

I know I can use some HTML Elements like <img> tag, but I have 50+ rows in the table, and icons are 10, let's take an example, I have 25 rows in table which are related apple and 25 rows in table...

View Article

How to match value sent by ajax call in a Rails controller and display an...

<%= form_for(@mymodel, remote: true, html: { id: 'match_form' }) do |f| %> <!-- I need to check if @mymodel.match_id matches the value generated by a controller function --> <%= f.submit...

View Article


change text color with respect to background color with the help of css3...

I tries to set color of a link such that it automatically adjusts its color as compared to its background-color. I search for this problem and found that this can be done with the help of blend-mode or...

View Article

How to update selenium-webdriver's version?

I'm using Protractor 5.4.2. How do I update to the latest available selenium-webdriver version, i.e. 4.0.0-alpha-5.

View Article

Callback function with onload in src/url

This may be a really simple question but despite all my fiddling I can't get it to work and I think others might find it helpful in the future.I'm using the embed payment button here:...

View Article


calculating time between other time spaces Update

Desc: In the html table I have: 2 columns with data to enter: ( sample values ​​are inserted in the example, you must enter it yourself for the script to work ) a) start, // the user enters this...

View Article


Ho can I check free time in time range

I have an array with different times registeredconst existing = [ { start: "2020-02-05T09:00:00Z", end: "2020-02-05T10:15:00Z" }, { start: "2020-02-05T10:30:00Z", end: "2020-02-05T11:00:00Z" }, {...

View Article

Image may be NSFW.
Clik here to view.

JS Maps API: Malformed url on getDetails

Irm working with the Javascript API for Google Maps to retrieve a nearby places request then get somes details from the places returned.The nearby places request works well, but when I'm trying to get...

View Article

How to edit passwallet? [closed]

I would like to edit passwallet afterwards, i.e. change the font or background color. I would like to do this in Javascript, please no NodeJS or something else.Do you have an idea how to do that? I...

View Article

Puppeteer "Error: Evaluation failed: TypeError: Cannot read property 'click'...

I'm getting the error from the title for this function: it('should change comment status to SOLVED', async function() { await page.click("#view_replies3"); await change_comment_status(page, 5,...

View Article


Get field name of a javascript object with object's field as parameter...

I have an object, likelet foo = { firstName: 'David', lastName: 'Divad' }; I want to get string 'firstName' of foo.firstName. I found there is a way to get it but need to hard code the index:...

View Article

HAPPY NUMBERS (Finding numbers whoose sum of its digit is equal to 1)...

I have been stuck in a problem which is asGiven any number, we can create a new number by adding the sums of squares of digits of that number. For example, given 109, our new number is 1+0+9 = 10. If...

View Article


How can I get multiple objects using "page.$"?

Using puppeteer, I tried to get multiple objects of the same type and call .click() function of each object. This is my sample codes. I want to click all items of the form and save setting values. How...

View Article

Error when I run npm install Error: 404 Not Found: 7zip-bin@~4.1.0

When I run npm install I see this error3 verbose stack Error: 404 Not Found: 7zip-bin@~4.1.0 2293 verbose stack at fetch.then.res...

View Article


How to validate a UPI ID using regex?

It's like an email ID but can start from a digit also and doesn't have a domain at the end. Example:rishi.21@axisshruti@PNB98765__210@upi

View Article

Image may be NSFW.
Clik here to view.

Implementing Slick js gallery to modal window bootstrap 4

I am using bootstrap 4 and Slick js gallery, trying to gallery in modal window with the arrows and thumbnails my code:HTML:<div class="container"> <div class="row"> <div...

View Article

Image may be NSFW.
Clik here to view.

What is the correct way to detect new Microsoft Edge v80 (Blink) via Javascript?

As latest version of Microsoft Edge is out and uses Blink - what is the correct way to differentiate Old Edge from New Edge one with javascript?Currently I plan to look into navigator.userAgent to...

View Article
Browsing all 138134 articles
Browse latest View live


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