Questions tagged as 'javascript'

3
answers

What is the real advantage of using a CallBack and what is thread / multithread?

It has a lot of explanation of what is callback by the net and even a few sparse examples, but nothing that explains in practice and in detail a really important use (I did not find it). I already understood a bit of how to use and even mad...
asked by 02.01.2015 / 22:48
3
answers

"href" attribute for JavaScript links: "#" or "javascript: void (0)"?

Popularly, there are two methods of creating links that execute a function in JavaScript, they are: <a href="#" onclick="myFunction();">Executar JavaScript</a> or <a href="javascript:void(0)" onclick="myFunction();">Exec...
asked by 21.12.2013 / 02:50
4
answers

React Native or Ionic?

I need to create an App and would like to know which of your technologies is the most suitable for mobile development today. What is the main difference between ReactNative and Ionic? Which of the technologies is the most performative? W...
asked by 07.12.2016 / 12:36
2
answers

What is the difference of $ (this) and $ (event.target)?

Well, a question arose while I was tinkering with jQuery and the code worked perfectly in Chrome using the $(event.target) event, already in Firefox it only worked with $(this) , so that doubt arose. What is the main difference betw...
asked by 19.02.2015 / 12:29
2
answers

Get "waves" of frequency of sound or music

How do I display the sound waves of any sound (music)? I do not know if it's possible to get this with JS or some other language. Waves of this type: Anexampleis how SoundCloud does , displaying a kind of wave of the audio being played. I...
asked by 10.04.2015 / 19:28
1
answer

OpenSSL and ASP.NET WebAPI

I'm developing an internal application, but in a certain module I'll need to traffic some sensitive data. A priori I thought about using SSL, but due to limitations ( non-technical ) I would not be able to do so, so I thought about using Open...
asked by 31.05.2016 / 13:56
5
answers

What does NaN mean in javascript?

When we have an error in adding a number to JavaScript, NaN is returned. Example: parseInt('a') + 3; //NaN What does NaN mean?     
asked by 13.10.2015 / 22:59
2
answers

What is the difference of file js with .min and without .min? [duplicate]

What is the JavaScript difference that contains .min (for example jQuery.min.js ) and the file without .min (for example jQuery.js )?     
asked by 18.04.2016 / 16:48
6
answers

How to make a custom ScrollBar?

How to modify the scrollbar of a div , to appear as in the example of the image below (Hangouts) instead of the default operating system scrollbar?     
asked by 07.01.2014 / 04:18
3
answers

How to prevent a click on a link / anchor or element with event tied

In the case of a link: <a href="http://www.google.com">Google</a> or in case of another element that has an event tied with addEventListener , what alternatives exist to prevent the content from being "clicked" and that th...
asked by 23.01.2014 / 17:18