Questions tagged as 'jquery'

1
answer

How do I make an interaction between two tables with AJAX?

I need to make an interaction between two tables in a side tab, where initially an "answer" table is hidden and the "question" table will be available and as soon as in input of search above them I type something via AJAX it will automati...
asked by 16.08.2016 / 22:09
1
answer

System of tabs in jQuery with page reload

Well guys, I put together a very simple tab system with the help of Stack people. Well it works 100%, but there are some cases that I need to make the page refresh by clicking on tab1. I tried the following: onclick='location.reload(); I...
asked by 16.08.2016 / 20:56
2
answers

PagSeguro getPaymentMethods Error

   59001 - "unknown web session id" I'm implementing Transparent PagSeguro Checkout using PHP v2 API, however I always get the error above in the JavaScript part. Their support is horrible, there is nowhere else to go. Edited: I've adde...
asked by 23.08.2016 / 03:32
1
answer

Validating form with jQuery and sending to a controller in codeigniter

I want to do a validation with jQuery before sending the data to the server side, I'm using PHP with jQuery and in the form part I use this: < ? php echo form_open('empresa/inserir', 'id="form-empresa"'); ?> < inputs ... &...
asked by 23.08.2016 / 14:59
1
answer

Hiding form fields that will be required

Hello, I have a form that depending on what is going to be selected in a select will hide or display fields. The problem is that some of these fields will be of the required type and the submit will not complete if they are hidden and with no...
asked by 14.10.2016 / 15:12
1
answer

How to select a dropdown loaded dynamically with jQuery?

I'm using a form to record dynamic questions in my system. I'm also recording this data in a session so you do not have to be selecting all the time in dropdows but you have a problem: In submit , in the Select a category: field, I get t...
asked by 15.10.2016 / 14:54
1
answer

Javascript Popups / Modes

Well, I've been trying for 2 days to do the following: When you click on the register button, open the registration mode, when clicking the information button, open it When you click to go back, both will receive display none When...
asked by 01.10.2016 / 21:27
2
answers

Checking if element is visible with jQuery

I need to check the visibility attribute of a div . if ($('#divFiltros').css('visibility', 'visible').val() == true) { alert(true); } else { alert(false); } How do I check and enter this if of the example?     
asked by 04.10.2016 / 15:26
2
answers

Fill multiple select with data stored in the bank

Good afternoon everyone. I need guidance from you regarding select multiple. I have the select below: <select class="form-control" id="dias_semana" multiple name="diasDaSemana[]" required> <option value="">Selecione...</op...
asked by 03.10.2016 / 18:58
1
answer

Picking up the height of an image

In my project, I have an image that reduces the screen 1000px, 860px, 320px, etc. The image also changes its height. How do I get the height at the time of the display? I need to know this time to set margin-top of a div th...
asked by 17.10.2016 / 19:59