Questions tagged as 'jquery'

1
answer

execCommand with several contenteditable divs

I have a page with 3 div in contenteditable: <div class="herra"> <div title="Negreta"><b style="font-size: 2em;">N</b></div <div title="Cursiva"><i style="font-size: 2em;">K</i></div...
asked by 01.09.2017 / 13:26
1
answer

How can I work with events in a meteor project, for example animate ()?

I am working with React and Meteor components but since I can enter some kind of animation with jquery animate (), I have read something about 'ComponentDidMount (), by saying my components are in this way, how can I reference the DOM nodes for...
asked by 07.10.2017 / 19:05
1
answer

Datatables jquery showing me hidden fields

I have a table on a page where I use the datatables.jquery plugin, which for me is very practical and functional. It turns out that in the table I use two hidden fields, the id and the nrologins (the latter I use to sort the data that comes wit...
asked by 05.10.2017 / 14:51
1
answer

alert cheked checkbox by name or class

I need to show an alert when a checkbox is checked by the class or name, I tried to do the following without results thanks. $('input[name="name_vh"]').on('click', function(){ alert("chekeado"); }); <script src="https://ajax.goog...
asked by 18.08.2017 / 18:41
2
answers

Hide column in JTable JQuery

I use the Jquery JTable table, and I want to know how the column is hidden: Table: $('#miTabla').jtable({ title : 'Datos Detalle', paging : true, pageSize : 10, pageList : 'minimal', saveUserPreferences : true, jquer...
asked by 03.08.2017 / 14:59
1
answer

How can I create an element in the DOM from a php echo

Good, no matter how many laps I give an action. The case is that through ajax I call a php file that prints an html tag with echo. The problem comes when you want to handle that label (to which I have put a class) because, I presume, that is bec...
asked by 03.08.2017 / 18:40
1
answer

Datatables with Bootstrap 4

I am working on a project that shows a catalog of production cells because there are too many data that I throw when making the Query, I wanted to try to use the Plugque of Jquery, Datatables, try to do it first in the following way: <...
asked by 27.10.2017 / 18:14
2
answers

Detect scroll movement of a select

I have this example code:                          </head> <script> $(document).ready(function() { $('#contenido2').scroll(function(){ var windowHeight = $('#contenido2').scrollTop(); console.log(windowH...
asked by 27.10.2017 / 12:03
1
answer

Execute function when another is completed

I am trying to execute a function when another one is completed but apart from that I have no idea how to do it. By the way that I am going I get a syntax error and I do not understand the reason very well. This is the way I'm trying to do it...
asked by 17.01.2018 / 18:45
1
answer

Hangman query javascript

I would like to ask if someone finds out what the problem is in the code that I left of the game hanged. I have a button with the id test-letter , which the idea would be to go through an array where you save the word and compare it wit...
asked by 22.06.2017 / 17:29