All Questions

2
answers

What are the differences between Web App, Native App and Hybrid App?

Whenever I do research on mobile development, I come across three terms that appear a lot in searches. These terms are: Web App Native App Hybrid App And this has generated some doubts that I would like to have clarified, the doubt...
asked on 11.01.2017 / 16:43
1
answer

How to get Unix Timestamp with JavaScript? [duplicate]

I've tried it here in some ways, but it seems to be wrong. An example of what I do: var data = new Date(); var timestamp = data.getTime() / 1000; Is this form correct?     
asked on 12.02.2017 / 02:54
2
answers

TransactionScopeOption what's the difference between the options?

I was doing a search on the options for TransactionScope and found the following settings: Required A transaction is required for the scope. If it already exists, it uses an environment transaction. Otherwise, it creates a new transactio...
asked on 18.10.2016 / 13:23
4
answers

How do I display the OLX site's phone number?

In OLX, the advertiser number is partially visible and only after you click "View number", the full number is displayed. How do I do this in JavaScript?     
asked on 14.02.2017 / 16:44
5
answers

Function equivalent to trim (function to remove extra spaces at the beginning and end) in python?

In PHP and javascript, we have the trim function that serves to trim string , removing extra spaces at the beginning and at the end. So: $str = ' meu nome é wallace '; var_dump(trim($str)); // string('meu nome é wallace')...
asked on 12.01.2016 / 12:04
4
answers

How to create an element and after a few set seconds remove it?

I need to create a% wc of warning like this: <p id="lblAviso">Salvo com sucesso</p> And remove it after 3 seconds. How to do this with jquery ? Need some label ?     
asked on 20.12.2013 / 17:33
2
answers

Input radio that looks like checkbox?

I need to do a quiz, and the alternatives are radio type inputs, but it looks like custom checkbox. What is the best way to do this? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs { border-bottom...
asked on 06.04.2015 / 03:34
3
answers

Never ever use inline styles?

For example, tag canvas : I saw some tutorials on YouTube, and almost all of them used like this: <canvas height="" width=""></canvas>. So should I use in HTML, inline , as above, or as in the example below, in CSS?...
asked on 24.08.2017 / 23:18
5
answers

Invert array order

I have the array: var meuArray = [1, 2, 5, 7, 9, 4]; How to invert the order so it looks like this: [4, 9, 7, 5, 2, 1]     
asked on 08.12.2015 / 14:10
2
answers

How to include Bootstrap's Glyphicon inside the "input / input" tag?

With the following code: <a href="#" class="btn btn-primary"> <span class="glyphicon glyphicon-pencil"></span> Editar </a> I can create buttons like these:    ButIcannotdowithinput:<inputtype="submit" class="...
asked on 22.05.2014 / 18:36