Questions tagged as 'jquery'

1
answer

Access to my message.properties file from javascript

I need to access variables that are in my "message.properties" file from a .js file Suppose we have the following: message.properties ERROR = La longitud máxima son 20 digitos. validacion.js In this file, what I currently have is the...
asked by 19.07.2018 / 07:52
0
answers

How to use the .each function in Ajax

I'm trying to show several response results. Follow up, check a little and I found out that it's with .each to show me everything about that field, this is my code .. function Tcaso(id){ $.ajax({ type:"POST", data:{'id':id...
asked by 13.07.2018 / 13:34
0
answers

array sent by ajax does not reach full php

I have an array of 61 elements, each element of that array is another array Array(61) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ], The issue is that when I sent it as a parameter to php and I do a print_r it only prints...
asked by 03.09.2018 / 18:22
0
answers

Functions in a Preloader

It turns out that I was designing a preloader on the website that I'm developing, all good. The functions that I put in your code work, by the way I'm using Jquery . The code is as follows: $(window).load(function(){ $("#loading").dela...
asked by 23.07.2018 / 12:53
0
answers

How to record an element in html with js or jquery

I have a problem, I need to record a div element that contains a video and a canvas element that generates a mask as shown below , that's what I want to record, I've already tried the RecordRTC.js library, this is for cordova, one of its plugi...
asked by 16.07.2018 / 00:25
1
answer

Error loading JSON file with getJSON

I do not have much control over Javascript and I am trying to test a project that you download from github . link I have managed to solve a problem with the audio, since the routes indicated in the sources were not the same ones that...
asked by 18.07.2018 / 05:49
0
answers

execute javascript script inside a div loaded with ajax

I have an index.php which contains a div called content in which I upload another file listarusuarios.php with the following script function ajaxFunction() { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); return xmlHttp; } catch (...
asked by 17.08.2018 / 18:06
1
answer

How to receive data from php to ajax?

I am practicing PHP POO with javascript and ajax, I have my code ready with the sql query: public function SessionStart() { $conexion = $this->conectar(); $sql = "SELECT * FROM usuarios WHERE usuario = ? AND pass = ?";...
asked by 02.07.2018 / 03:47
1
answer

problem when sending data with ajax to mysql

good day I have this small problem and I would like to give me a hand I am trying to send data to my database through ajax and I work all messages and all alerts and when I send to send says that everything was sent OK but the data is not added...
asked by 05.07.2018 / 00:54
1
answer

validate with jquery.validate a form with dynamic elements divided into tabs

The problem I have is the following: In twig from the form-wizard of the metronic template I dynamically create both the tabs and the elements within them. This first part goes well, the problem is in the validation. All the fields are obliga...
asked by 26.05.2016 / 19:28