Questions tagged as 'javascript'

0
answers

Auto-complete a table from a select with mysql data and continue adding more items to the table

What I want to do is that in a form have a select with the products and next to the select an input type = button where you add it to a table the data and that you can continue selecting more products to add it in the same table. This is the...
asked by 12.07.2017 / 21:08
9
answers

What is the best place to place src="" tag scripts in HTML?

I recently had a problem calling the JQuery scripts in a small php script, I usually place them after the body tag like this: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="wi...
asked by 26.09.2016 / 17:05
1
answer

Problem in javascript with system of measurements in table

I am starting to learn a bit of javascript to do a small project and I have run into a problem that I have not been able to solve in any way, I hope you can help me. I tell you a little about the project to know what it is: In a Increaseable...
asked by 13.07.2017 / 01:51
1
answer

Google map with style does not mark the indicated site

My Google Maps map does not point to the site I indicated with its typical red arrow. What can I do to make it appear? <!DOCTYPE html> <html> <head> <title>Styled Maps - Night Mode</title> <...
asked by 13.07.2017 / 17:58
1
answer

How can I delete a cookie using jquery?

I am working on a login using cookies to save the user, but at the time of logout using jquery I want you to delete the cookie so that I have to authenticate again, how can I do that? try this line that I found on the internet: $.removeCoo...
asked by 14.07.2017 / 16:16
1
answer

Error uploading images with angularjs

When uploading an image using ng-file-upload , it is uploaded correctly but what I want to do is send more data along with the image this is my code: $scope.crear_registro= function(){ $scope.datos_usuario = ( { "username":...
asked by 14.07.2017 / 15:29
1
answer

use nested $ http requests angular 1

Hello good morning I have a project with Ionic 1 where I have to make different queries and many requests in a single click (when synchronizing) where I get a list of people first and the result I get I am consulted all your data and at t...
asked by 14.07.2017 / 15:01
1
answer

Search for orders between two dates

I am generating a prototype of a page of orders, some of the data of the order is the date which income, which I get in the following way in string var today = new Date(); var dd = today.getDate(); var mm = today.getMonth()+1; //Enero...
asked by 07.07.2017 / 13:39
1
answer

hasClass to removeClass after addClass

I'm trying to create a function which looks for if there is a class in a body which contains the id="skin" so that when you want to change the theme of the whole page, this function does all the work without needing to change each class of all b...
asked by 26.07.2017 / 16:06
0
answers

Js file is not executed on site made with Drupal7

Simple problem. I execute this code $(document).ready(function () { $("form#user_register_form").submit(function (event) { event.preventDefault(); alert("Submit prevented"); }); }); In a javascript file for a site...
asked by 05.07.2017 / 15:06