Questions tagged as 'javascript'

2
answers

Jquery - Is there a way to connect buttons?

I'm a beginner in programming I'm working with wordpress. On the site I'm helping I have a Slider Revolution with 4 balloons that will serve as buttons. And in the body of the site I have a Portfolio plugin with filters. I'd like to know if y...
asked by 21.02.2017 / 20:43
1
answer

Missing project error) after argument list

Good afternoon, I have a problem with my project and I have not been able to figure out what is causing the problem. Any help is appreciated. function logOnConsole(newLog) { currDate = new Date(); currHour = parseInt(currDate.getHours()); curr...
asked by 18.02.2017 / 18:29
2
answers

Add parameter at the end of the link with jQuery

I'm trying to get some specific URL's on a page, and add a parameter at the end of the link, but I'm not getting success as the object is returned instead of the link string + parameter. I made a very simple example of the code: var links =...
asked by 23.02.2017 / 16:01
1
answer

I can not display the array data

When I type the command console.log (response) it displays all information in the browser console, but for some detail, I am not able to display the data inside my div that is in the html snippet below. Can anyone point out to me what I'm lettin...
asked by 17.02.2017 / 21:05
1
answer

Error in project: Uncaught SyntaxError: Unexpected token var

I'm doing a console with javascript but I've had trouble figuring out the source of the error. I've reviewed the code several times and I have not been able to figure out what's wrong. Any help is appreciated. var logStack = 0; var showTi...
asked by 18.02.2017 / 16:33
1
answer

Pre-processor stylus - Error while running the stylus watch

Hello, I have the following problem: When you run the command stylus main.styl main.css -w the stylus compiles what is saved, that is, it takes what is in the files styl/title.styl and styl/button.syl and plays to...
asked by 25.02.2017 / 18:51
2
answers

How do I search by date?

I want to create a "date" search system. It may not be the best question in the world. But I think it's valid and interesting, with the potential to generate good content for the site. Example var buscar = function() { if (data == "0...
asked by 02.03.2017 / 16:57
2
answers

ASP.net JavaScript does not recognize the TextArea if it has a Tag runat="server"

I have a problem with my JavaScript. I am using a code that server to do the numbering in a TextArea when the user gives Enter, however, if that TextArea has the tag runat="server" Javascript does not recognize the box and simply d...
asked by 21.06.2017 / 16:51
2
answers

Charset does not work in JavaScript

I have the following JavaScript function that issues a confirm with a message that contains special characters. function cancelaCadastro(){ var cancelaCadastro = confirm(unescape("Você deseja cancelar o cadastro e voltar à página in...
asked by 20.06.2017 / 15:45
2
answers

Array sorting based on the order of another array

Next, I have two vectors each with a numeric sequence. Let's call them Array1 and Array2 . The values are below ... Array1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; Array2 = [7, 6, 3, 9, 4, 5, 1, 10, 8, 2]; My question is ho...
asked by 17.04.2017 / 13:21