Questions tagged as 'javascript'

1
answer

Error with jquery and libraries that use jquery

I have a website where you use several libraries that use jquery: nyroModal timepicker cleditor ... The problem is that suddenly they have stopped working, and analyzing the browser console I get this: TypeError: $(...).nyroModal...
asked by 08.06.2018 / 10:15
1
answer

how to open an image in a popup

I would like to know how to open an image in a popup, in my code the image is shown correctly but what I want is that pressing a button like "see image" can visualize the image, is it possible to do it? <div class="starter-template">...
asked by 08.06.2018 / 04:21
2
answers

Changes are not reflected [closed]

I have a strange problem since a few days ago I have saved the changes on a Hostinger server, both CSS and Javascript at the beginning when the changes were not reflected instead of removing the browser cache. What I was doing was entering direc...
asked by 16.10.2018 / 17:52
1
answer

Get the code in an Array

{ "name": "Afghanistan", "topLevelDomain": [ ".af" ], "alpha2Code": "AF", "alpha3Code": "AFG", "callingCodes": [ "93" ], "capital": "Kabul", "altSpell...
asked by 16.10.2018 / 00:31
5
answers

Apply CSS to the first element of type th that is not hidden

I have the following problem: I need to make the left border radius of a table header be round on the left side. In principle I was going to do it by CSS telling him to apply the border radius to the first child, but it just so happens that i...
asked by 16.10.2018 / 11:48
3
answers

How do I get an array with numbers and letters and a space to add up and form a word?

The exercise would be like this: const array_A = ["H",3,"o",4,"l",5,"a",6," ",7,"M",8,"u",9,"n",10,"d",11,"o"] const array_B = ["s",1,"t",2,"a",3,"c",4,"k"] const array_C = ["o",1,"v",2,"e",-3,"r","f","l","o","w"] You would have to see th...
asked by 16.10.2018 / 16:43
1
answer

Console.log prints me a number between 0 instead of an array that passed through parameters

Good afternoon to everyone! I have a problem with an array that passed me by parameters to a javascript function. The problem is that when I do console.log of the array inside the function, it gives me 0, but if I do it from where I call the...
asked by 30.05.2018 / 14:02
2
answers

How to detect the parent node of a window.getSelection ()?

I'm doing an extension for chrome that replaces the selected text on a page with templates predefined by the user. In general it goes well, and it replaces the text in any part of the page, including the body of the Gmail messages, which was...
asked by 30.05.2018 / 09:08
1
answer

captcha google does not respect js

I do not know if the title is ok, but my question is as follows. It turns out that I have on my website a code where I prevent the user, using javascript, using the right click. In my web works well but I can not make that happen also in my damn...
asked by 26.05.2018 / 02:44
2
answers

Force change of placeholder in input

I have an HTML code which I try to access with javascript to the placeholder value to change its string, but when performing the following function it does not make the change. <input type="search" value="" name="s" id="yith-s" clas...
asked by 23.05.2018 / 23:25