Questions tagged as 'jquery'

1
answer

Create custom .ON events in jQuery

I hope you can help me, because I want to know this and I have not found anything useful in the searches. Basically what I want is to do as a listener if that is how it is said, waiting for another function to react (or make a callback, I think)...
asked by 14.12.2018 / 18:17
2
answers

Remove the last word of a string jquery or javascript

Good morning I have the following text string in a variable cad = "perro AND gato AND pajaro AND vaca AND" Since the string is created automatically, it always adds the AND when concatenating a new element, but to show it, it must be withou...
asked by 16.11.2018 / 17:18
1
answer

Error in array travel

I have a long and complex script (for me to say), in which I have an algorithm on a JSON array obtained with php, which is a list of products. The only thing that gives me an error is in showbizublista, this function takes an array, a from an...
asked by 02.11.2018 / 13:10
2
answers

JQUERY - take dynamically created element index

I am trying to take the index of a dynamically created element that I have in a list, here I leave the structure of the DOM <section class="cd-horizontal-timeline loaded" id="timelineSection"> <div class="timeline"> <di...
asked by 30.10.2018 / 14:44
1
answer

How to hide a column of a dynamically generated table, jquery?

I currently have a table: <table> <thead> <tr> <td class="nuevo-td">Forma de pago</td> <th class="label-cell nuevo-th">Disponible</th> <th...
asked by 18.10.2018 / 06:13
1
answer

Check only the visible checkboxes

I have the following code in javascript where I select the checkboxes in a table function checkAll(ele) { //Obtener todos los checkbox que estan visibles; var checkboxes = $(':checkbox:visible'); var celdas = $('#table tbody >...
asked by 18.10.2018 / 22:31
1
answer

Problem with slideToggle

The problem is that when I want to put myself in the search bar I hide again and I do not know how to make it stay when I'm on top of it. <div style="display: none;" class="input-group mb-3" id="barra"> <input type="text" clas...
asked by 22.10.2018 / 09:43
3
answers

Help with dynamic table

I'm having a drawback of handling tables. I need to show data from two tables, which I already have stored in the database, the first is services, it shows the existing services and when I click on one of these services I need you to show me ano...
asked by 20.10.2018 / 02:38
1
answer

Simple redirect with Ajax

I'm learning JQUERY and I want to do a simple redirect in Ajax when you click on a but for some reason it does not redirect me. $("#btn-proceed-chk").click(function(){ var chkurl = "URL-DE-REDIRECCIONAMIENTO"; $.ajax({ async:...
asked by 11.09.2018 / 22:33
2
answers

How to change an html property depending on the value of a profile collected from java class

I have a text box in which I would like to be able to write or not depending on the profile that the application uses. This text box is in html code inside a .jsp and the verification of this profile is done in its action. How could I do it so t...
asked by 01.09.2016 / 09:19