Questions tagged as 'jquery'

2
answers

Check that there is a word on a div and then change its class

Suppose I have a div with a string of characters and I want to see if there is a specific word and do something: $('.container-text:contains("text")').addClass('container-text-right'); But how do I check if I want him to check more than one...
asked by 03.10.2016 / 17:42
3
answers

What is the correct way to sort the css and the js?

As I understand the order of css and js affects and it is not just an aesthetic issue and order of the code, but it has relevance in the time of loading the page and in the user experience while carrying out said loading. Said What...
asked by 05.01.2017 / 19:19
1
answer

Problem when placing and deleting elements of a textarea html select

I want to place the elements of a select to a textarea, the code that I have works well to add the text, but the problem arises when deleting the textarea text, if I delete something from it, it does not let me reposition more text from the sele...
asked by 27.10.2017 / 17:10
2
answers

jquery DataTables does not allow opening modal dialog after 10 rows

I have a problem when using jquery Datatables , I do not know why it does not allow me to open modal dialogs that are called after row 10, everything works normal in rows 1 - 10 of the table, however I do not know what happens that all the othe...
asked by 10.05.2016 / 00:44
3
answers

Form Ajax + Dialog Jquery C # MVC

Good morning, I am trying to use a form
asked by 14.01.2016 / 19:25
2
answers

How to know if several periods of time overlap?

I need to iterate an array of date objects, with duration and get how many overlaps each of them. But I'm looking to do it efficiently and quickly. I'm looking for frameworks to manage time periods but I have not found anything. I develope...
asked by 23.02.2016 / 15:12
1
answer

How to fill array with a for cycle

I'm using a library of jquery DDslick to fill the input selects with styles even images, the library uses arrays to fill them for example .. var data= [ { text: "Facebook",//este es el texto que se ve en la cabecera...
asked by 04.10.2018 / 15:27
3
answers

Query about PHPMAILER

I wanted to know if the PHP setup I'm doing for the submission in a form is well-armed. From what I read in the documentation I have to download two PHP files, the Class.phpmailer.php and the SMTP.php and link them the way I'm doing with a requi...
asked by 16.11.2018 / 20:45
1
answer

Problem using .clone () and select

I am passing elements from one section to another, the big problem I have, is that when cloning it does not save the option selected, simple example to understand me: <div id="content"> <div class="copy"> <select>...
asked by 29.11.2018 / 03:47
1
answer

How to show the values of all the radio type inputs that have the same class?

I want to get all the values of the radio type input to then compare it with a variable with a set value and if some of those radio type input matches the value of that variable I select that radio type input I've been trying to get the amoun...
asked by 27.04.2018 / 08:49