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

When should I use object property shorthand?

I understand it's used when the object keys and values are the same (i.e., 'cat: cat' can just be rewritten as 'cat')...but when I look at code examples, I get confused as to which situations have...

View Article


Image may be NSFW.
Clik here to view.

Google Chrome: How to disable auto-completion menu for Manage Addresses

As of Dec 9, 2019, with Chrome v78.xI've been experiencing serious problems with disabling auto-completion menus in some places of my web front-end application. Especially on the Chrome browser, even...

View Article


Maps Static API Marker size customization

I am playing around with adding onto the link, but it seems like as soon as I try to update the size of the marker to either size:tiny or size:normal (or even custom size, for example 64x64), my custom...

View Article

How to search a student ID by LINE ID and get grade from collection grade in...

How to search a student ID by LINE ID and get grade from collection grade in firestore firestore path user/{studentID}/Grade/{SubjectAutoKeyGen} studentID doc use to where UserID = Line ID...

View Article

Skip a page on click of submit

I have this site when I click on submit value another page pops up but the URL is same. It's an agree or disagree page. I want to skip that page by going to the next page for example ("Google.com") Is...

View Article


Why are my search results not showing what i requested?

I am trying to submit a search form onto a website using Jsoup, then retrieve the particular resullts.here is the site with which i am workin on https://eservices.cipc.co.za/Search.aspxpublic class...

View Article

Image may be NSFW.
Clik here to view.

Why is promise from fetch not resolving (react)

I am new to promises and async/await in react. I have been reading but still, I don't understand why the promise from my getDate() method doesn't resolve. I have been tying many solutions but it all...

View Article

TicTacToe in JavaScript

Long story short, I have been working on a tic tac toe game on my own time. The loop creates buttons, and I want the onEvent to have the callback of the function XorO. I don't know if it's problems...

View Article


How can i send json response in symfony2 controller

I am using jQuery to edit my form which is built in Symfony.I am showing the form in jQuery dialog and then submitting it.Data is entering correctly in database.But I don't know whether I need to send...

View Article


HTML input data value lost when setting via Javascript VUE.js

I am trying to automate a login into: https://accounts.nintendo.com/login It is necessary to be done using Javascript calls.When you execute in the Javascript console the following command:...

View Article

Using Netlify lambda functions to send emails from a GatsbyJS site

I am following this tutorial https://dev.to/char_bone/using-netlify-lambda-functions-to-send-emails-from-a-gatsbyjs-site-3pnb I have everything set up but I get the following error in my...

View Article

lephone the first three character in parenthesis followed by a dash ....

Write an SQL query that will display the customers as customer title in capital, underscore, City with first letter in Capital and the rest in lower characters, dot, state in capital,dot, and zip code...

View Article

convert the buffer data into image in react native

I tried react-native-base64 library which helps me to convert buffer data into a base64 string but still, I am not able to display images into my app. this is my buffer data which I am fetching from...

View Article


Loop through Javascript object with children in Angular template

I have the following js object:{ "id": "1554038371930_ajhnms9ft", "name": "CPS", "nodes": [ { "id": "1554038905938_le34li2cg", "name": "Consumer Journey", "nodes": [ { "id": "1554039157958_kwab8rj5f",...

View Article

Firebase update data , but change it back to original after few seconds...

I am trying to update data on firebase realtime database using angular and angularFire, the data changes but after few seconds it goes back to original data this is the function I am...

View Article


trying to change the scroll bar to arrows ! No bootstrap Please

I have tried this demo I found online for practice in code and created this slider and it was much easier to get it with the scroll bar as they was already a script made for it. now I am trying to...

View Article

Image may be NSFW.
Clik here to view.

Stack Navigator in React Native. Error "undefined is not an object...

It's taking me forever to figure out the obvious, would appreciate some help. Im using a stack navigator, when a button is pressed it will simply go to another page. In app.js I created a stack...

View Article


Import stylesheet dynamically with dojo

what is the best (the most elegant :) way to import css stylesheet from javascript.Maybe dojo has some module similar to dojo.require ?Thanks for help.

View Article

Clear interval when condition is true ajax and jquery

I'm trying to clear an interval calling the function to check the condition inside an ajax but every 5 seconds I'm still getting the message so the interval is not cleared. What am I doing wrong? I...

View Article

Image may be NSFW.
Clik here to view.

How to hide tag whilst scrolling out

/* CSS is inline this time */<!DOCTYPE html><html><head><title>Page Title</title><meta name="viewport" content="width=device-width, initial-scale=1"><link...

View Article
Browsing all 140762 articles
Browse latest View live


Latest Images

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