Questions tagged as 'jquery'

3
answers

Change letters of an html with function replace ()

I want to do something similar to what the lacuerda.net page does, where you have a music and you can turn it up or down tonality. I have my test page where I want to change the tone of the music. I've been testing with the function r...
asked by 27.06.2017 / 18:05
2
answers

Get the name of a binary image with base64 when you download it

Suppose I have the following base64 image: <img alt="imagen de prueba" width="16" height="16" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAA……… /> When I run the view in the browser and show the image, at the time of downloa...
asked by 13.01.2016 / 04:30
3
answers

How to get first nth-child or first-child with span using jQuery

I wanted to have the first nth-child, which is filled dynamically by aggregation and I do not know how to get it. $("ul > li > a > span.menu-item-text:nth-child(1)").text("Primer Inicio"); ul { padding: 0; margin: 0; }...
asked by 25.01.2017 / 14:46
1
answer

How to know which JQuery is working or in what file it is

I am trying to put a ScrollTo but it is not being applied because it is hitting another JQuery that has a floating button that makes it > click directs to the top of the page, then I want to find the JQuery that had the template by defa...
asked by 25.07.2017 / 16:44
1
answer

See Thumbnails with the Google Drive API

How can I see the thumbnails of my images from google Drive ? That is to say, that the api of google drive returns the url of the thumbnail. I also use jquery , if necessary or to facilitate it. <html> <head> <...
asked by 21.12.2015 / 19:45
3
answers

Apply CSS style to a row of an html table depending on a value

I have a common html table, with a column called "status", whose possible results are "yes" and "no". and I want to make all the rows whose state is="not" paint them in another color. How can this be done with jQuery? <table> <tr&g...
asked by 18.04.2017 / 18:14
3
answers

How do I enable an input disabled when selecting a select with jquery?

I have a select with two values (allow and not allow), and under this select two input disabled to type the password, the idea is that if you select the value allow me to automatically enable the input to enter the password ... I leave the sim...
asked by 10.03.2017 / 23:40
2
answers

Jquery - Count how many UL, have so many LI elements

$(function(){ var count = ''; var total = 1; $('ul li').each(function(index, el) { count++; if(count == 12) { total + 1; } count = ''; }); console.log('Se encontraron 2 UL con 2 li');...
asked by 31.03.2017 / 05:58
5
answers

what is the difference between using $ (). val () and document.getElementById (). value; in javascript

Well I'm a bit confused about how to get the value of the fields in Javascript, I've seen that many times you get using the code: document.getElementById("elemento").value; and others using the code: $(elemento).val() What is the diff...
asked by 13.07.2017 / 21:38
5
answers

Is it possible to differentiate selectors with only $ (this)?

I have this piece of code: $('#btn_1, #btn_2').on('click', function() { // Button 1 let btn1conSpan = $('#btn_1 span'); // Button 2 let btn2conSpan = $('#btn_2 span'); console.log(btn1conSpan.text()); cons...
asked by 17.02.2017 / 23:16