365体育投注网

Questions tagged [javascript]

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

Sort the drop down values as case-insensitive across the application

I am working on issue where the drop down values in the entire application needs to be sorted in ascending order with case-insensitive. I am having around 180 forms of which 160 are having drop down ...
0
votes
0answers
8 views

Passing Python list to JavaScript through AJAX request

I am creating a Slack clone using Flask and JavaScript. On the server side, I have a 2D list containing all the messages from each channel. When changing channels on the client side, I am making an ...
-2
votes
0answers
10 views

Is there a way to perform a “Submit” function outside of the website?

I am trying to figure out if it is possible to click on a button on the Amazon website from outside of the website. For Example: At the bottom of every product review is a "Helpful" button. If a ...
0
votes
0answers
3 views

How to name a audio file when saving into server with POST

I've being developing a solution for my webpage with Django and javascript, it's a record button so that the user can send feedback and I can store it into the server. The plan is putting a text ...
0
votes
0answers
7 views

How to convert string object to Json in Nestjs

I want to convert this to json. I tried JSON.parse() but got this error "{"status":"00","message":"OK","access_token":"2347682423567","customer":{"name":"John Doe","address":"Mr. John Doe 34 Tokai, ...
0
votes
0answers
4 views

Drag & Drop API and table rows (vanilla JS only)

In my HTML table of one column and n rows, for example: <table id="my-table"> <tr> <td>How</td> </tr> <tr> <td>Are</td> </tr> &...
0
votes
3answers
10 views

How to verify user token before the dom is loaded?

I want to verify the user token (that stored in local storage) before the DOM is loaded, so the user will see immediately the correct DOM. window.onload and document.onreadystatechange triggers too ...
0
votes
0answers
5 views

Dragging a component to a specific target in Vue

I am using vuedraggable to allow users to drag items from one list to another. Here is what it looks like currently: The default functionality of vuedraggable is to insert the source element into the ...
0
votes
0answers
9 views

How to have an image move up over time (instead of instantly) when using hover

I'm trying to have an image rise when you hover over the image. When it rises, I don't want it to rise instantly, I want it to rise over time. I've figured out how to make the opacity decrease over ...
0
votes
0answers
12 views

Return Object with highest value in Array

I have an Array of Objects which looks similar to this: players: [ 0: { id: 324asdrea, rolls: { 0: [1,3], 1: [1,6], 2: [3,4], } }, 1: { id: 4hdffgi2, ...
0
votes
0answers
5 views

How do I use the 'to' and 'from' property for a bootstrap carousel?

On the documentation page for bootstrap's carousel there is a property for on under the events tab but I don't know the syntax to use it and can't find any examples. From bootstrap's carousel ...
0
votes
0answers
4 views

WordPress: This block contains unexpected or invalid content after refresh

I'm making a Gutenberg block and it works fine when I add it to the editor for the first time. Everything displays as it should in the frontend. However, after I refresh the editor it just shows an ...
0
votes
0answers
3 views

checkbox logic not working in open layers js file

In my code i have two grid on for base layer other for utility layer . Base layer has radio button and on clicking the logic used is working { var baseLayerGroup= new ol.layer.Group({ ...
0
votes
1answer
13 views

Telling a function to run a set of code first

In onSubmit() I would like it to set the state setOnsubmit to true, then false. My gut is telling me there's a method for this. function onSubmit(event) { event.preventDefault() ...
0
votes
0answers
8 views

Angular 8 animation with 'offset' doesn't work on IE and EDGE

I have problem with Angular animation on Internet Explorer and Edge. On another browsers everything is ok (almost). 'offset' is not supported by that browsers. I don't know why polyfill dont change ...

15 30 50 per page
1
2 3 4 5
134630