Questions tagged as 'javascript'

0
answers

ASP.NET - How to send multiple files to the controler using AJAX and Formdata?

I have the following code: JAVASCRIPT: $(function () { $('form[enctype="multipart/form-data"]').submit(function (event) { event.preventDefault(); event.stopPropagation(); var formData = new FormData(); formData.append('Ob...
asked by 27.10.2018 / 20:47
0
answers

problem with dialogflow, api.ai, Client access token

To follow this tutorial of the link below because I am creating a chatbot but the inha where I put in the code the Client access token gets sublated with an error, in the browser this message appears when I give the ionic serve Can not GET / a...
asked by 27.10.2018 / 19:39
0
answers

Error: FFMPEG not found

const { Client, Util } = require('discord.js'); const { TOKEN, PREFIX, GOOGLE_API_KEY } = require('./config'); const YouTube = require('simple-youtube-api'); const ytdl = require('ytdl-core'); const client = new Client({ disableEveryone: true })...
asked by 27.10.2018 / 21:01
1
answer

Sleeping with TypeScript

Good afternoon, I'm having to make the typescript excute a call every 10 milliseconds. I have a search using setInterval but the information comes as undefined but when I save it, the values in this.tags.name come as undefined. export c...
asked by 05.11.2018 / 17:53
0
answers

Create modal with the contents of the Code tag

I'm developing a job for college and to present I made a simple page in html. The page has a div with the tag code, where I play a json file with a thousand more lines. I would like to create a modal that occupies the whole screen and insi...
asked by 20.10.2018 / 20:26
1
answer

Filtering and sorting tags using JavaScript

I need to filter using pure JavaScript. However, when filtering and sorting by Name (a, b), for example, I can only sort the text elements out of context and not the entire block. For example: I need the <div class="item"> bl...
asked by 20.10.2018 / 14:47
0
answers

Button see more content, with automatic height, how to do?

I am creating a content where it has a button called view all, which when clicking, shows all the rest of the content, but I have two problems: The first is that I do not know why I could not put a slow effect on the button when clicking....
asked by 20.10.2018 / 20:50
0
answers

Google Map API hidden inside div

When I try to put the google map inside a div with my class to make it responsive and organized it disappears, could anyone help solve this Google Maps API problem? <!DOCTYPE html> <html> <head> <title>Simple Map</t...
asked by 20.10.2018 / 16:24
0
answers

Calculate freight with Fetch JavaScript API

I'm trying to calculate freight from mail using the Fetch JavaScript API, but it's returning the following error that I do not know how to solve. Server was unable to process request. ---&gt; System.Xml.XmlException: Root element is missin...
asked by 18.10.2018 / 00:37
0
answers

Jquery - FileUploader can delete file but is submitted in the same

Good people, I'm using the following Jquey plugin to upload files: File-Upload I intend, in addition to submitting files, it allows the user to be able to delete those same files before submitting them. I'm using the foll...
asked by 23.10.2018 / 11:38