Questions tagged as 'jquery'

3
answers

Simulate Hover with JQuery

I have a navbar of Bootstrap with drop-down. I want to make hover in the div class="dropdown-content" dropdown also activate the hover of the menu option a class="nav-link" , since I have put styles to the optio...
asked by 13.12.2018 / 11:52
3
answers

How to hide a div when showing another?

Hi, I'm good, I'm a rookie and I'm very, very sorry for this. I need that when I do onclick to show the "price2" I hide in turn the # price1. I work the actuator to show the "price2" but I can not get this to hide the "price1", I think I'm using...
asked by 07.04.2016 / 03:33
2
answers

How to set individual search engine in table column with datatable

Friends I am trying to add an individual search engine to certain columns of my table, for this I use DataTables.js, which works well for me and everything, but the point is that it has to be implemented in three columns in specific two search e...
asked by 12.12.2018 / 20:34
1
answer

Problems when addressing with jQuery, the variable arrives without value

Good morning classmates, I'm doing a web program and I have a problem sending a variable via jquery and javascript. I have the following method that redirects and sends a variable by this address: function consultarPaciente(){ ur...
asked by 27.11.2018 / 00:29
1
answer

How to get the value of an html attribute, using jquery?

I have the following input <input type="checkbox" name="cupon_check" class="cupon_check" attr-num-doc="D00001" attr-sub-tipo="2" value="12848"> and I'm trying to get the vator of 'attr-sub-type in the following way: $(".cupones_bien...
asked by 29.11.2018 / 01:56
2
answers

Consultation with ajax is not done and it does not give me an error

I'm starting with ajax. I have an input that generates a search with ajax in my mysql database, but it does not return any results and the console does not show any error $(document).ready(function() { $("#resultadoBusqueda").html('...
asked by 28.12.2018 / 13:07
2
answers

how to control the behavior of a checkbox switch

What I need is quite simple, however I have not been able to find the solution, what I need is that when I click on the checkbox switch, that the switch activates or deactivates depending on an action, this block of my system deals with of chang...
asked by 08.11.2018 / 15:05
2
answers

Validation checkbox group with javascript or jquery

searching the web I can not find the solution, so I ask for help, I need to validate a checkbox group that is generated for each row of a table, what I need is that you can select a check only if the row previous one was selected first, that is...
asked by 12.11.2018 / 14:39
2
answers

problem reading array

I am receiving this array of objects as a callback with a ajax request [ {"nombre":"Kabul"}, {"nombre":"Qandahar"}, {"nombre":"Herat"}, {"nombre":"Mazar-e-Sharif"}, {"nombre":"Otra"} ] This is the way I read the array of objects and t...
asked by 01.11.2018 / 19:39
1
answer

How to display a message below an element that has a display flex

I'm doing a Login, which is more complex than what I just posted, but in reality what I put is my problem. I am validating if the fields do not come empty, if it is empty then add an error message just below the input that was validated. In the...
asked by 18.10.2018 / 23:00