Questions tagged as 'jquery'

2
answers

Require input text input with jQuery validator

I am making a registration form, and I have three fields to enter values. I want to make it mandatory to fill in at least one of the three input text. Does anyone know how to do this with jQuery Validator? <input type="text" nam...
asked by 27.01.2016 / 00:31
2
answers

How to get the value of an input inside a td in jquery

Hello, I have the following table in html <table style="display:none;" id="tableTime"> <tr> <td class="hora">08:00</td> <td class="eventoAgenda" id="0800"></td>...
asked by 18.01.2016 / 18:48
1
answer

Change event is only triggered when changing tab or changing window

Good afternoon guys. I'm trying to implement an autocomplete using typeahead.js. Assign a change event to my input to make an ajax request that brings me the data that will be displayed in the list. However, when the screen loads and I typ...
asked by 20.01.2016 / 17:35
1
answer

Error returning JsonResult

I'm having trouble understanding this: When I click on the Datatable line to edit the Client data, an error occurs whenever the Client has a Contact or a Registered Address and this is very common. This is code that is triggered whe...
asked by 23.09.2015 / 14:39
1
answer

Jquery does not return second image in list

Apparently, the code is correct, it is the following: { if( $(".ativo").next().size() ) { $(".ativo").fadeOut().removeClass("ativo").next().fadeIn().addClass("ativo") } else { $(".ativo").fadeOut().removeClass("ativo"); $("#sli...
asked by 16.09.2015 / 14:15
1
answer

know position of a tr (html tr / tr) in sequence of tr

I have a simple screen, where I have already been able to create elements dynamically, with the click of the button, these elements are draggable up and down, and are two different elements, a textarea and a img that are added dyna...
asked by 20.10.2015 / 00:58
1
answer

Count previous items

Good morning, gentlemen, I need to count elements of a li and add those values dynamically by counting the previous li elements: <div class="conteudo"> <ul> <li><i class="indice">...
asked by 27.07.2015 / 16:43
1
answer

Required input attribute does not work after using jquery

Hello, When using jquery to disable the submit button after being sent once the required input in the input does not work anymore. HTML <form id="ajax" action="#teste" method="POST"> <p class="remodal-text">Nome</p...
asked by 03.08.2015 / 19:16
1
answer

Create a random combination with CSS classes using javascript or jquery

Hello guys, I was wondering if anyone knows any solution how to do a combination of css classes using javascript or jquery? What I would like is to have links and each of these links have several classes of color, and after selecting one of t...
asked by 07.07.2015 / 15:30
1
answer

Select input with id! = value

a selector like this: $('#minhaDiv input[id!="meuId1"]'); It's common. I'd like to know if it's possible to do something like this: $('#minhaDiv input[id!="meuId1" && id!="meuId8"]'); Thank you.     
asked by 23.10.2015 / 16:04