Questions tagged as 'javascript'

2
answers

manipulation of values with a select

The issue is that I have a table that is of hotels and with a while it brings the name and the price of the hotel in its last position, the matter is that when the user chooses the hotel automatically I throw the price of the hotel hotel,...
asked by 17.12.2017 / 23:31
1
answer

How to use css3 variables, without problems of compatibility with Internet Explorer or other old browsers?

Good morning. What I am asking is if there is a library of the type "prefix-free" or "autoprefixer", but for the variables of css3: var (- variable) . Please do not answer that using X preprocessor I will not have that problem, I look for s...
asked by 19.12.2017 / 00:37
1
answer

Add arrows to carousel

I wanted to know if there is any way to add arrows to make it run to this type of carousel , in addition to having the touch (which already comes by default) and that runs on its own. This is my code: (function($, undefined) { $...
asked by 19.12.2017 / 13:49
1
answer

Use variable $ scope

I have a function where I obtain parameters from an API via $ http.post, the parameters that return are saved and printed inside the same request, however when I use them out the variable appears empty. $scope.gama = {}; factoryGamas.buscarGa...
asked by 28.11.2017 / 17:31
1
answer

Ajax does not work

Container folder: Folder js Sub-Folder ajax JS File ajaxlogin.js Folder php PHP file consultas.PHP HTML file index.html My code is as follows: index.html <!DOCTYPE html>...
asked by 07.11.2017 / 20:51
1
answer

Problems with 2 arrays

I currently have the following code: articulo.prototype.crearEspecificAsoc = function ($table) { var lista = this.getColumnasEspec(); //this.View.initTablaEspecificacion($table, this.lstEspecificacionesView, lista); this.View.init...
asked by 07.11.2017 / 21:15
2
answers

Get res.locals values in another midleware

I am trying to make the page renderize the information of a user that is stored in res.locals , however the router when rendering is in another file, therefore I can not get access to the res.locals information. // root.js...
asked by 26.11.2017 / 21:51
2
answers

pass value of php variables to javascript of different file

I have a php code (test.php) in which I have a couple of variables ($ lati and $ longi) whose values I want to send to a .js (main.js) to use them in variables javascritp but I have not got it , after some attempts I decided to clean the main.js...
asked by 22.11.2017 / 13:25
2
answers

Collect xml data in php

Good afternoon, I'm making a website to send sms to customers, so far I have managed to use the api that provides the sms service contracted, it would be something like this: <script> function enviar(telefono,mensaje){ //doc...
asked by 23.11.2017 / 16:24
2
answers

Why are not the fields validated? JQuery Validation

I am using jQUERY Validation in one of my entry forms, when going from one field to another, the length of the fields is validated. characters correctly, however when you press the button, the form is not validated, even if the fields are blan...
asked by 05.01.2018 / 13:29