Questions tagged as 'jquery'

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
1
answer

Problem with POST ajax method with jqery and php

How about, I'm starting with ajax and even though I've searched, I can not find the error, I want to post a picture but it does not work, could you help me? I leave the code, thank you already. I think the error is in the ajax part, but it do...
asked by 13.10.2017 / 16:14
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

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
2
answers

It is saved in the db but the DOM is not updated

PHP <?php $servername = "localhost"; $username = "root"; $password = ""; $db = "data_estudiantes"; // Create connection $conn = new mysqli($servername, $username, $password, $db); // Check connection if ($conn->connect_errno) {...
asked by 27.09.2017 / 04:56
1
answer

Capture the HTML of a SELECT, which uses the editableSelect Plugin

I have the following code: $("#idSelect").editableSelect({ effects: 'fade', duration: 'fast' }); To take the value, I realize: $("#idSelect").val(); // Funciona bien! Now I want to take the HTML of the select (all OPTION): $...
asked by 07.10.2017 / 21:36
4
answers

Limit number of selectable options in a multiple select

I have this multiple select: <select multiple="" class="form-control" name="evaluador[]" id="evaluador"> <option value="1">Casa</option> <option value="2">Apartamento</option> <option value="2">Finc...
asked by 31.10.2017 / 17:18
1
answer

Edit parent element that has been clicked

Greetings, In this table I make a selection and in one of the "TD" I have made an INPUT to fill that space with the desired data, all with AJAX and working perfectly, but that I do an INSERT of the INPUT I keep coming out the INPUT box and I...
asked by 23.09.2017 / 15:52
1
answer

Problem with file submission through ajaxFormData

Good, I have a problem regarding the way you sent file values, how I use ajax in jquery and the jquery-formdata library, I get the error of TypeError: 'slice' called on an object that does not implement interface Blob. I think it's becaus...
asked by 08.09.2017 / 02:05