Questions tagged as 'javascript'

1
answer

Error ng-options in Angularjs

I am consuming a Ws which returns an array, and I present it in a select, the data is displayed well but I want to know how I give a default value this is what I have done <div class="form-group"> <label for="sel1">Categoría 1:&l...
asked by 02.06.2017 / 21:16
0
answers

Divide data obtained from the database

I have a problem when I get the data from the database, I get 4500 rows or more depending on the search and this data is distributed among 8 people trying to be fair. This is the data I get: The important column is codi_zona s...
asked by 01.06.2017 / 20:38
0
answers

The source of an autocomplete of jQuery UI is requested every time I press a key

Why is the autocomplete executed every time I press a key? This is the code used: $('#xmarcaId').autocomplete({ source: "productosServices17.html?opcion=PRUEBA", minLength:1, select: function(event, ui){...
asked by 30.05.2017 / 03:28
3
answers

Requests for sub-resources using ftp protocols are obsolete

Good, I have the following problem: when entering the product module of my platform (with HTTPS protocol) and consult a product, the information returned by the web service is the product detail, in which comes a field called image which has...
asked by 29.05.2017 / 21:35
1
answer

How can I select a row to add via ajax?

This is the code to select $('#example tr').on('click', function () { var dato = $(this).find('td:nth-child(4)').html(); alert(dato); }); works well when the table is loaded with hard data, for example: <table id="example> <...
asked by 01.06.2017 / 20:02
2
answers

Simulate progress bar

I have a function in PHP that calculates the amount that each member must pay and then sends him an email. In the Database there are about 4000 users and I would like to know how much is left to the process. So I want to make a progress bar i...
asked by 02.06.2017 / 13:32
0
answers

Create valid javascript in pdf

Good I need help with a pdf I have 5 fields in a row are type menu with the same values in list of names and I want to select a value in the field type menu but to avoid repeating the values in the following fields, which is an unrepeatable valu...
asked by 02.06.2017 / 12:37
1
answer

Problems between document.ready and turbo-links of ruby on rails

My problem is very simple, I have the need to create a carousel in 3d, but to avoid that I decided to find one of my liking and try to customize it to my liking, it works correctly that you download, just that it is not in ruby and I decided to...
asked by 31.05.2017 / 19:18
1
answer

problems when getting data from a form in javascript

When I print alert variable valor I see undefined . I tried with document.write and I get a blank page, I would like to know if someone has had this problem that can help me. var valor = document.getElementById('n...
asked by 29.05.2017 / 19:19
2
answers

EqualsIgnoreCase in Javascript

In Java, the equalsIgnoreCase() method is used to check case sensitivity. In Javascript? I have the following example: perform the function " existeDisco(titulo):boolean ". Returns true if the disk whose title matches the one p...
asked by 29.05.2017 / 19:17