Questions tagged as 'javascript'

1
answer

Javascript: Example with Scope and Closures

I was looking for information about Scope and Closures, and I thought I had already understood it, when I see this example on the page that was the information: let a = 1; const function1 = function() { console.log(a); a = 2; }; a = 3;...
asked by 15.07.2018 / 05:04
1
answer

Problem with HTML 5 form in JavaScript

I do not understand why the function that believes in java script with this form does not work for me, simplify the code so that the problem can be better understood <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <...
asked by 13.07.2018 / 21:46
0
answers

How to create a location option in the publications of my web page and save it in mysql?

I am developing a website where you can access with a user, make publications, comment, etc. But what I still lack and I do not know how to do it is like putting a location option to put in the publication, something like this: And when...
asked by 15.07.2018 / 05:19
0
answers

Django-Leaflet: First argument in 'static' must be 'as'

Recently I upgraded django from version 1.8 to 1.11 and I have problems with the static loads of the tool django-leaflet , this is the error: I have installed: Django == 1.11.14 django-geojson == 2.11.0 django-leaflet = =...
asked by 16.07.2018 / 18:50
0
answers

show records related to id

I need to bring from the database only the records that are connected to a certain id and display them in a table. In jsp, js. I enclose my function that lists all the records that I have in the table (database), and when I click on the dynam...
asked by 16.07.2018 / 19:17
1
answer

Eslint no-console

How to make sure that I do not get the error when I want to debug with console.log() using Eslint? The question is also valid for alert() Error message:    error: Unexpected console statement (no-console) at   src \ compon...
asked by 16.07.2018 / 17:21
2
answers

Display an alert message

I am making a form where I have two fields that are required, in this case they are name and email. What happens is that these fields must be full, but even if they are not, if I press the send button, the alert sent will jump. What I need to do...
asked by 14.07.2018 / 17:16
0
answers

Problem sending form data with Ajax

Friends please help me to identify my problem I am using ajax to send the data that I extract from the form, I do not know if it is the libraries I am calling them wrong? or is it the structure of the ajax, can someone tell me what I'm doing wro...
asked by 15.07.2018 / 21:07
0
answers

Iron Router does not work for me

Dear, I can not redirect a login to the profiles template in meteor with iron: router: I DO NOT ALSO SHOW THE TEMPLATE: profiles.html main.js import { Template } from 'meteor/templating'; import { Meteor } from 'meteor/meteor'; import { Rou...
asked by 14.07.2018 / 14:16
0
answers

why does not my slider scroll images?

if the images were loaded but they do not move a bit jQuery(document).ready(function () { "use strict"; if ($('#slider-carousel').length >= 1) { $('#slider-carousel').caroufredsel({ responsive: true...
asked by 15.07.2018 / 19:41