Questions tagged as 'jquery'

3
answers

how can I control my scroll of a Chatroom? [closed]

my problem is that the scroll remains in the messages that already passer and does not go down when there is a new message I want to control the scroll as well as the facebook if someone knows how to do that please tell me Thank you. &l...
asked by 22.02.2017 / 22:13
2
answers

Prevent the click event from executing twice

Good morning I have this jquery code <script> $(document).ready(function(){ $(".like").click(function(){ var id = this.id; $.ajax({ url: "megusta.php", type: "POST", data: {id:id}...
asked by 29.11.2017 / 17:40
3
answers

Div divided circular [closed]

They asked me for a job in which there is an area where certain notifications are shown, the design is more or less like this, the circle will be colored depending on the process the user is in (the states control them from the database), but I...
asked by 02.06.2017 / 20:26
2
answers

Jquery Traversing - Select "Surroundings"

Good morning. I want from .elemento_seleccionado : <table border="1"> <thead> <tr> <th>Col1</th> <th>Col2</th> <th>Col3</th> &l...
asked by 03.01.2018 / 21:13
3
answers

Simplify jquery

I hope you can help me how to simplify some actions in jquery. This is my example link . It does what I want, but I think it can be simplified, I think it's the right thing to do. Of the example that I put this would be the part: $("#di...
asked by 13.12.2018 / 22:47
2
answers

HTML table problem with radiobutton

I have an HTML table with several rows, each row has a radiobutton, I try to make each row like a link, that is to say that it changes color when it is selected and its radiobutton is selected to obtain the id associated with the radiobutton, I...
asked by 26.02.2016 / 21:44
3
answers

Hide and show div with jquery and CakePHP

When trying to show a div: <div class="modalHome"> HOLA MUNDO </div>' $(".modificar-foto-perfil").on("click", function() { $('.modalHome').show(); }); <i id="modificar-foto-pe...
asked by 19.12.2018 / 15:01
1
answer

How can I validate with jquery if a field only has letters [closed]

How can I validate a field that only has letters but with jquery? Thanks for your help.     
asked by 03.01.2018 / 01:29
4
answers

How to use ArrayList in JavaScript

I need to use a ArrayList in JavaScript to manipulate data and pass it through ajax. For example: Set what type of transport it is, make, year and color. eg var data = {"Automobile", "Nissan", "2010", "Red"} Problem: What I n...
asked by 28.01.2018 / 06:46
2
answers

How to get the JQuery average?

Hello I'm starting to work with JQuery I have to get the average of three grades, until now I have nothing but the sum of 3 values ... I would like your help to make the average I have looked for examples and I can not do it I leave you the code...
asked by 13.02.2018 / 23:18