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

Glider.js not working. My carousel, using glider JS is not working/

I tried to create a carousel using glider.js from https://nickpiscitelli.github.io/Glider.js/, I followed all the steps, yet it is not working. May you help me? I click the arrow and it won't...

View Article


Why is my code is 2 ticks behind (rather than 1)?

Please excuse improper spacing.Player = { move: function(cycle, opponent) { switch(cycle.current_direction) { case 'up': cycle.y -= cycle.height; break; case 'down': cycle.y += cycle.height; break;...

View Article


How to extract only first and last name by removing the middle name using...

I am trying to display only First and Last name. Sometimes there will be a middle name comes. In that case i need remove the middle name and join first and last name.How is it possible using...

View Article

Make a letter at given index in a string to uppercase

I want to convert a letter in a particular index in a string to uppercase.I have a string:let str = "Dwightschrute";I could do:let str = "Dwightschrute"; let a = str.slice(0, 6); console.log(a);...

View Article

Indicate top heading on table of content jquery

I am making an automatic Table of Content, everything is working fine. I just need to indicated the top heading to be "bold"jQuery(document).ready(function(){ var ToC = "<nav role='navigation'...

View Article


Image may be NSFW.
Clik here to view.

Unable to replace text with replaceWith in jquery [duplicate]

I have favorite script which add data to SQL and replace HTML tag everything works fine. So i added a text like Add Favorite and replaceWithRemove Favorite but this is how i get my outputas shown in...

View Article

How to make videojs marker slidable or movable

i want to move my markers whenever it is slided along with the seek.i expect my markers to be exactly slidable as jqueryui-sliderQuestion: i want my markers(both) to be as slidable as jqueryui-range...

View Article

MongoDB Not Sending the API Back?

I have been trying to solve a query but there are some problems in it..I have been using a database tool mongoDB and now am having troubles sending API via the selects fields limiting query..Here's the...

View Article


Image may be NSFW.
Clik here to view.

Blur HTML5 canvas issue

The canvas does not allow me to use other domain URLs and show a cross-domain error.I have to use this demo https://tympanus.net/Development/FlowmapDeformation/index3.html but I face some issues on the...

View Article


URL.revokeObjectURL Clears ALL urls?

Right now I am making an app in Gamemaker which pairs up to my website so the game can visualize the data. I have a function that replaces the sprite. AFAIK doing var url = URL.createObjectURL(blob);...

View Article

How to fire two functions on single button click

Hello stackoverflow community I am having problem in using onpress method. Actually i want to fire two functions on a single button click like if i press Register button the validate() function and...

View Article

It's possible to add new source to video?

This is possible?Im working on video streaming. it's possible to add new source when someone input on a form? send to video source?<!-- CSS --> <link...

View Article

Image may be NSFW.
Clik here to view.

value not displaying and having errors in console for Vue.js (laravel6)

I'm having an error for displaying a data from vue.js This is the error.this is the vue.js resultI have a data in counter1 and the rest has no value yet. But I want it to display blank if it has no...

View Article


How to pass an argument to a url in GraphQL

I was wondering how I could pass in a argument into the url in the Root Query. In the resolve funtion the url is https://finnhub.io/api/v1/quote?symbol=AAPL&token=gh4o7. However this will only...

View Article

Firebase stop listening onAuthStateChanged

As of version ^3.0.0, I'm having a difficult time removing the auth state change listener. To start the listener per the documentation: firebase.auth().onAuthStateChanged(function (user) { // handle it...

View Article


Adding video playlist to current video player using html css and javascript

So basically I am using a videojs player with ads. I want to add a playlist to this player using so it wraps around the video player, but I would also like the videos to play through the actual videojs...

View Article

Cloning text and even-line spans in output use half of the stated width. How...

I'm looking for a way to wrap a around text lines and I found a solution at "Wrap each line of paragraph in a span" that clones a text, split, wrapped each line in <span> and then output the data...

View Article


Image may be NSFW.
Clik here to view.

How to get separate sums per each separate column by Google Script....

I want to get sums of numeric values for each separate column in the range. What I do wrong? function countNutrients(){ var sh = SpreadsheetApp.getActiveSheet(); var lastcol = sh.getLastColumn(); //Get...

View Article

Create nested object from array of objects in JavaScript [closed]

I have array of objects data:[ {"company": "Google", "country": "USA", "employee": "John"}, {"company": "Amazon", "country": "UK", "employee": "Arya"}, {"company": "Google", "country": "KSA",...

View Article

How do I resolve project directory references? Error: 'NotificationManager'...

I am trying to import a file from within my project directory and I keep having the above error. I am using React-native, yarn, and Expo for this project. Here is my project directory...

View Article
Browsing all 138163 articles
Browse latest View live


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