正规365体育投注

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences正规365体育投注 any time.

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
2 views

Click event on SVG sprite only works with one type of element accessor in JS

I am using the handlebars templating engine <div class="input-wrapper col-md-12"> <input id="{{#if type}}{{type}}{{else}}text{{/if}}" name="{{#if type}}{{type}}{{else}}text{{/if}}" ...
0
votes
0answers
6 views

How to delete a specific clone with fetch and method DELETE

We are making an application where the users you have liked end up on a users profile. Now we want to be able to delete users from profile. We assume we need to use fetch and method delete, but since ...
-1
votes
0answers
10 views

How to convert JavaScript code into jQuery? [closed]

I have javascript code for filter list But I want to use javascript code as jQuery <script> function myFunction() { var input = document.getElementById("mySearch"); var ...
0
votes
0answers
7 views

how to reload page after any function another user defined in javascript is executed

I want to execute a function callback in my code but I have no idea if the function the user inputs is going to be synchronous or asynchronous and immediately after it's done I wish to reload the page....
0
votes
0answers
5 views

Unable to register device for push notification Mobilefirst 8.0

I am using Mobilefirst 8.0 push notification part in cordova application and i got this error when i try to subscribe tag to MFP server using MfpPush method. Error Domain=com.ibm.mfp.push Code=10 "...
0
votes
0answers
8 views

Tracking progress of preloading using XMLHttpRequest

I'm trying to preload files via an array of URLs and I want to track the progress of completion of the whole proccess: Here is the code: preload([ http://example.com/directory_A/voice.mp3", https:/...
0
votes
0answers
6 views

Mat-Sort Working for few columns,not for every column

I have a mat-table with mat-sort and mat-paginator.Mat-sort seems to work on Date Columns(coulmn in mat-table) but if I want to sort data based on country(it is one of the columns) it doesn't work. ...
0
votes
0answers
9 views

Switch Case to return a link of a gif

How can a switch case return a link to render an image/video instead of text? Is it possible? switch (x) { case a: y = imagelink.com; break; case b: y = imagelink.com; break; default: y = ...
0
votes
0answers
11 views

Webpack: resolve alias fallback

I'm building a webapplication as composer package. Now I want to provide a basic theme with the option to extend this theme from the package. I was thinking about using a fallback for import ...
-1
votes
1answer
12 views

Check key in deep nested object in array

I have array of nested object. I have to check the property of key object and return its value. I have done it using the for loop and checking with children property exist or not. But I think it is ...
-1
votes
2answers
14 views

how can i display round dot for active status in react

In older code of react it just display the text active or in active for an user. Now I want to replace it to red or green small dot how can I do it.
0
votes
1answer
14 views

Module not found :Can't resolve './components/counter' in 'C:/…demo\counter-app\src'

I am totally new to React and i'm following tutorials (Programming with MOSH) in youtube but i'm stuck with this error, unable to resolve after finding similar questions. index.js import React from '...
0
votes
0answers
5 views

How to use an environment variable value in another environment variable name and value using dotenv?

For my testing framework I'm using dotenv to read and initialize environment variables for different test environments. Now I want to use a specific environment variable value as a part of the value ...
0
votes
0answers
10 views

Fetch data localhost react native

I am trying to fetch data using React Native from my localhost. I have a database which I created using MySQL. The database is named test and the table is named users. It contains the following rows ...
2
votes
1answer
18 views

Add a link to a table row that opens URL to a new window

I've already tried a number of threads but so far i cant get it to work. i got the rows clickable to a new URL but it opens in the same tab, this worked. However i want the URL to open in a new tab. ...

15 30 50 per page
1
2 3 4 5
131581