365体育足球滚球比分

Questions tagged [javascript]

365体育足球滚球比分 For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). This tag is rarely used alone but is most often associated with the tags [node.js], [json], and [html].

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Change Row background color upon clicking delete button using jquery

Hi i have a table which had a delete button in column upon clicking the button the row will be highlighted as red . i have been trying some different stuff but it just not working . how can i change ...
0
votes
0answers
12 views

How to refresh <div> in html and not the whole page

I want to refresh particular section(which contains form) in html page and not the whole page in Django templates.form contains question and choices when user submit the form it redirect to next ...
0
votes
2answers
28 views

Gatsby - 'gatsby develop' command struck without error. GIves no error or info

I am new to Gatsby, every time I run the command gatsby develop, my terminal struck. It gives the following output and stays there forever. No error or info is shown. tarun@192 gatsby-starter-hero-...
0
votes
1answer
31 views

Something wrong with If…else

I have this user.model // user.model.ts interface User { name: string email: string password: string is_active: boolean } And I check if email is taken and user is active before signing up ...
0
votes
3answers
62 views

How to map an array of objects to a new array

How to map an array of objects to a new array From some API i get response like that: [ { name: line1, values: [ { clock: clock1, value: value1 }, { clock: clock2, value: ...
0
votes
0answers
11 views

how to customise error message in post request?

I am using nest js for making Restfull Api . I am also using class-validator ,and class-transform to validate my request ot DTO. Currently It is showing this error {"statusCode":400,"message":["...
141
votes
27answers
103k views

Format a number as 2.5K if a thousand or more, otherwise 900

I need to show a currency value in the format of 1K of equal to one thousand, or 1.1K, 1.2K, 1.9K etc, if its not an even thousands, otherwise if under a thousand, display normal 500, 100, 250 etc, ...
0
votes
2answers
21 views

Javascript code only works when Empty Cache and Hard Reload

I'm adding javascript code to a woocommerce wordpress website. The code is simple. What does is, when the user clicks on a div area of the checkout page, the code makes it click on the submit button ...
0
votes
0answers
8 views

I want to fetch and sort data of collection(B) based on other collection(A) in MongoDB and mongoose

This is my Controller file where A ref to collection and B ref to collection B const {A} = require('../models/BannerModel') const {B} = require('../models/BannerModel') const BannerController = { ...
0
votes
2answers
23 views

Computed property is not defined on the instance but reference during render

Background: I have a child component that receives an array called expenseButton as props. Within the array are objects with values which I am trying to get the sum of using array.reduce() Problem ...
0
votes
0answers
25 views
+100

Is it possible to generate callout/indicator (“continues…”) when table breaks across column or page?

We are designing HTML pages for print and one of the requirements for tables is, whenever a page or column break occurs, to generate an indicator like "Continues..." below the table before the break (...
0
votes
1answer
16 views

How to render inline javascript only desktop device (width > 1024px)

How to render inline javascript only desktop device (width > 1024px) I have to search for many codes but it doesn't work Thank you
8
votes
9answers
24k views

Return only numbers from string

I have a value in Javascript as var input = "Rs. 6,67,000" How can I get only the numerical values ? Result: 667000 Current Approach (not working) var input = "Rs. 6,67,000"; var res = str....
0
votes
1answer
15 views

Vuex LocaleStorage plugin for nuxt.js

In my project, I faced with a problem the cookie technology and I can't use it because my client gets problems with it because cookies should have some button for notification, and the user might not ...
0
votes
2answers
24 views

Can anyone tell me how this javaScript function works please?

I am a beginner and recently I have stumbled onto this. I do not understand what this d.getDays() does. Please help me out. const dateBuilder = (d) => { let months = ["January", "February", ...

15 30 50 per page
1
2 3 4 5
134437