Questions tagged as 'jquery'

1
answer

How to send variables from Ajax Jquery to php

Very Good. I describe my problem to you I have a table which contains a button with a value = Id of a contact (The Id varies according to the row in which we are located). It should be noted that all this is inside a form called frm_Contactos...
asked by 11.07.2017 / 18:20
1
answer

Error installing jquery

I'm using the visual studio code terminal to install jquery in my project but when I want to install it I get that error and the package that comes out there already erases it     
asked by 05.07.2017 / 16:00
1
answer

Problem with Jquery. * Failed to load resource: net :: ERR_CONNECTION_RESET

I'm getting through a web service the base64 url of an image that is obtained by opening an openfiledialog. This is the function that consumes the service: $('#Services').click(function () { $.ajax({ type: 'GET', url: '...
asked by 05.07.2017 / 21:16
1
answer

Verify password with JS and stay in the form

I'm doing a login for a project that needs design in css and js. The problem is that I have a code but it does not work, I would like you to help me with the following: <html> <head> <meta http-equiv="Content-Type" c...
asked by 05.07.2017 / 04:09
0
answers

Problem with data tables, custom filter

I have the following table: var grid = new Datatable(); grid.init({ src: $("#datatable_cheques"), onError: function(grid) { toastr['error']('An error occurred while getting details list'); $('div.loading').remove(); }...
asked by 04.07.2017 / 22:39
2
answers

Reset Form with jquery, empty input error Select2 delete the list

I am using the following code: $('#formarea')[0].reset(); This allows me to reset a form but in some cases it does not do it with the data that has been written with ajax or elements added with ajax. I also empty the display none fields,...
asked by 11.07.2017 / 15:14
3
answers

Replace dropdown text

What I need is to replace the text of a button . I want to replace the word SUCURSAL . <button id="btnSucursal" type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-map-m...
asked by 27.06.2017 / 17:08
1
answer

List the selected values in an array in PHP, AngularJS and MySQL

I want to list the data in checkbox by enabling select through AngularJS and PHP. I leave the codes: app.js: $scope.getPhase0 = function(){ var dataSend = { "service": "getPhase0", "token": token }...
asked by 20.07.2017 / 23:55
3
answers

execute function when closing (cancel) the window that opens input file

I have a common input file. Pressing opens the corresponding window to choose a file from your computer. I have a function that loads a gif of "loading" when you click on the input button; and when selecting the image and processing the sendi...
asked by 20.07.2017 / 22:26
1
answer

iPhone problem and preventDefault

I have some buttons that when clicking on them, load a text. It works on my computer and on Android but not on Iphone ( it takes me to the top of the page ). This is the code I use. <script type="text/javascript"> $(document).ready(fun...
asked by 21.07.2017 / 11:23