Questions tagged as 'javascript'

1
answer

Concatenate Pseudoclasses and attribute selectors - jQuery

Good, maybe I'm doing a bit like a grand piano, but I'm trying to achieve, from a list that I think with many DIV, a very specific element. Currently, what I am doing is this, but you do not recognize me: var i = $('#listado_facturas div:nt...
asked by 03.10.2017 / 11:47
2
answers

include javascript / jquery functions in backbone template

I have the following template with a table. An Array is traversed and a link is created in the row of the table <tbody> <%for(var i=0;i<resultados.length;i++){ %> <tr onclick="window.open('#/ensayo/<%- resultados[i].tipoE...
asked by 06.10.2017 / 11:03
2
answers

getElementById when the id is a php query

Good morning I have a checkbox with the id defined by a result of an sql query in php <input type="checkbox" id="<?php echo $row['identificacion']."1"; ?>" onchange="return habilitar()"> and I'm trying to put it in a getElementB...
asked by 05.01.2018 / 16:45
1
answer

Misuse of confirm () with PHP and Javascript

I have a table with sorted data in rows and columns. A column is for delete , with checkboxs selected, when we press the DELETE button and a " confirm () "to confirm the deletion or be canceled. In the second question I have the prob...
asked by 06.01.2018 / 18:59
1
answer

Direct print without preview with asp.net/javascript

I'm trying to print directly to a default printer. What I do is send print with preview, because for now I can not print directly, because when uploading it to production site I got errors that according to some answers to my question, was that...
asked by 08.10.2017 / 17:07
1
answer

How to delete a record already inserted in an array?

I hope you can help me with your support. On this screen I can select both LABELS only 1 time each and display the text of the Park label in the INPUT TEXT. I MENTION THAT IT IS ALREADY VALIDATED SO THAT IT DOES NOT REPEAT THE SAME LABEL 2 TI...
asked by 04.10.2017 / 18:10
1
answer

How to validate the hours in HH: MM: SS format using an INPUT TEXT with JAVASCRIPT?

I have 3 fields, day, start time and end time. I want to validate that the time is between 09:00 and 12:00 hrs for the start time and from 13:00 - 18:00 hrs for the end time, the problem is that I need to validate with format HH: MM : SS and...
asked by 03.10.2017 / 21:27
1
answer

Pseudoelement in css with ng-class

As I can use the Pseudoelementos with ng-class I want to make the class .timeline:after have a background-color: #D8D8D8; when the variable $scope.fax is activated. The idea is that the line and the circle chan...
asked by 04.10.2017 / 19:19
1
answer

Error Internal Server 500 xhr.send (options.hasContent && options.data || null);

Good morning. I have a Javascript process that makes a POST call to a controller, and I'm getting Internal Server 500 error, and in jquery this line marks me xhr.send( options.hasContent && options.data || null ); This only happ...
asked by 10.10.2017 / 14:06
1
answer

The data is not saved when it is sent

Greetings to all, I have this form that sends data without leaving to another page, but when doing it with ajax, the other page does not receive the data,  specifically in the client form. here my code. function openCity(evt, cityName) {...
asked by 09.10.2017 / 21:51