Questions tagged as 'javascript'

2
answers

Problem with Script does not work properly

I am working with DataTables and with two JavaScript codes. I use the TableTools plugins that allow me to show the buttons to export the data in PDF, Excel or Print. In addition I am using a tfoot that allows me to visualize by means of anothe...
asked by 25.02.2018 / 20:32
1
answer

I can not use functions, variables from another file js

Hello everyone I need your help I'm creating a form validation in jquery for this I'm doing it in two js files: validation-form.js ajax.js The first with a function to validate and the second with a function to send the form data using...
asked by 25.02.2018 / 17:18
0
answers

update updatepanel with js or jquery

How to update a .net updatepanel with Javascript through an HTML button? There are several "examples" but none really worked for me, I've tried with the following, maybe I'm missing something: $('#btnOk').on('click', function () { v...
asked by 25.02.2018 / 17:56
1
answer

event onclick button generated by array

I have the following code, and I want that by clicking the button execute the onclik function with the indicated parameter. function getcontent() { $.ajax({ url: 'https://example.io/blog', type: 'GET', success: function(result) {...
asked by 23.02.2018 / 22:13
0
answers

creation of barcode with PHP, Mysql and highcharts

a query I'm creating some graphs with PHP, Mysql and highcharts where I make a query to my database XXX and I return the data in a shekel to be inserting the data and gratifying with the styles of highcharts. but nothing appears to me if I...
asked by 23.02.2018 / 20:29
2
answers

How can I access the values of a URL-type json?

I'm getting the values of this json link but, when I try to get "films" it shows me the value as undefined . I refer to this exact value but I think it is not recognizing that it is a json and that is why it shows the undefined. The referen...
asked by 23.02.2018 / 18:54
1
answer

How to autollenar an input with preloaded data depending on the value of a dropdown and a numeric value in other input?

This is the first time I will ask a question that is probably going to be badly written, so I apologize in advance. I have tried to carry out the request in the question for 2 days and I have not been able to achieve it, nor have I found any...
asked by 02.03.2018 / 17:07
1
answer

Send email php ajax

I can not get the email sent, I get the confirmation alert by ajax but nothing is sent, status is 200 ok but it does not work $('form').on('submit', function(e){ let nombre = $('#campoNombre').val(); let email = $('#cam...
asked by 24.02.2018 / 18:07
1
answer

Send message by php

Hello, I do not know why I do not receive the email via php, I have set preventDefault since I do not want it to be sent normally but by ajax, I receive the response through the alert BUT on I receive the message in my email. the status code is...
asked by 24.02.2018 / 14:09
2
answers

If there is no element of the DOM, which creates it (JQuery / Javascript)

I check if there is an element with jQuery or not by its id, but it throws me an error. This check is made in a callback within the instance of an element. I need to do that check there, since it is the point at which it collects the data and mu...
asked by 27.02.2018 / 16:30