Questions tagged as 'jquery'

2
answers

How to solve jQuery ids problem?

I have two forms almost identical, one for physical and another for legal entity and these forms are hidden and appear as the result of a jQuery().change that determines if it is the form for the individual or legal entity to be used....
asked by 21.10.2014 / 17:07
2
answers

Adding values from selected input's into another input

I have for example 4 input , each input has a specific value ex: *input com os valores <input type="radio" value="1"> <input type="radio" value="2"> <input type="radio" value="3"> <input type="radio...
asked by 10.10.2014 / 01:07
2
answers

CSS condition with jQuery, eg if div1 is visible then div2 will also be

Speak guys do not handle much Js / jQuery, but I need the following that a <div> hides when another <div> is hidden as well. Ex: When the buy button is hidden a <div> with the discounts hide also and dis...
asked by 23.10.2014 / 15:44
2
answers

How to know which form id a function is being sent to?

How can I know from which form id a given function is sent? The function is buscar_cidades() and is present in 2 forms Pessoa Física and Pessoa Jurídica . How to know in jQuery which form (id) the function is being sent to...
asked by 21.10.2014 / 18:04
1
answer

Datatables getting shrunk at startup

I have 2 datatables on a page, only one of them is starting to shrink, as you can see in the image below. What do I need to do to start correctly? <!DOCTYPEhtml><htmllang="pt-br"> <head> <meta charset="utf-8">...
asked by 04.01.2018 / 18:51
2
answers

How do I start jquery results in a div?

My js code is working fine but I wanted it to print the result inside a div in the index.html itself under my textarea and without redirecting to another page, since it is redirecting to the ip.php page and showing the results there. <h...
asked by 07.07.2017 / 18:43
3
answers

How to get a class with JQuery array?

For example, in HTML, I have this: <ul class="benefits"> <li>Finalização rápida e fácil</li> <li>Múltiplos endereços de envio</li> <li>Acesso fácil a seu histórico de pedidos e status</li> </ul>...
asked by 18.07.2017 / 21:15
1
answer

The photo appears when you select it by an upload field

Colleagues. I do not know if my title was clear, but I'm having trouble getting a user mode when I select the photo by the upload field, it appears under the upload field when it is selected, but without sending it to the server. this field w...
asked by 17.07.2017 / 17:57
2
answers

Pass selected values in a select to a div

I have 02 selects that when you select the city of the first, it automatically fills in the state of the other. See: <select name='Cidade' id='cidade' class="form-control" required='required'> <option>Selecione a cidade<...
asked by 16.09.2018 / 23:27
1
answer

Car Mask in jQuery

I did not find on the internet a mask in the format BBB-1234 for car signs, the ones I found only validate when the field loses focus and even then only say if it is valid or invalid . You would need something in the first 3 characters t...
asked by 01.09.2017 / 17:03