All Questions

5
answers

Is it recommended to use Linq instead of SQL?

To avoid string abuse and avoid code injection problems it may be a good practice to use Linq . I can also imagine, for example, that it be slower. Who has used Linq to communicate with database, would you recommend it?     
asked on 14.12.2013 / 23:31
5
answers

Using jQuery, how to select elements with two CSS classes

I have a div that uses two CSS classes. Here's the HTML: <div class="box1"></div> <div class="box1 destaque"></div> <div class="box2"></div> <div class="box2 destaque"></div> <div class="box3"...
asked on 11.02.2014 / 17:03
2
answers

have how to put masks in php dynamically?

I would like to put masks in different fields, all via php, for example: cnpj - "##. ###. ### / #### - ##" cpf - "###. ###. ### - ##" cep - "##### - ###" phone - "(##) #### - ####" date - "## / ## / ####" I do not want to use j...
asked on 17.07.2014 / 13:35
4
answers

How to capture textarea tag with new line?

How to get the values of a <textarea> with Regex, including new line? I have the following expression to get a textarea : ([<]textarea.*[<\/textarea][>]) Example online. The problem is that if textarea...
asked on 02.08.2016 / 17:39
4
answers

Text that is typed in the Few?

People, I see an effect on the sites. The text will appear (as if someone was typing it). Automatically I related to the marquee, but the effect is not legal. Do you know how to do it?     
asked on 14.05.2015 / 22:37
1
answer

Calculations used to rotate an image on canvas

I have the following code below to be able to rotate an image through canvas . function qs(selector) { return document.querySelector(selector); } function rotacionar(canvas, image, angle)...
asked on 07.04.2017 / 19:08
7
answers

Hide input value

I need to hide / remove the value of my input, but I'm not getting anywhere, where am I going? Thank you very much HTML: <div class="caixa-pesquisa"> <div class="caixa-pesquisa-input"> <input type="text" class="pesqu...
asked on 14.02.2014 / 19:28
3
answers

Voice recognition in php

This question is really curious, I'm not touching anything like that, but in the future who knows. I would like to know if there is any kind of system or if it is possible to create a system that can do voice recognition (either for login, o...
asked on 22.01.2016 / 13:47
3
answers

How to keep the scroll of the element always in the bottom

Consider the following example I made here: $("#add").click(function() { $("#wrap ul").append('<li class="new">Teste</li>'); $("li.new").slideDown('slow', 'easeOutBounce'); }); link How can you fix it by clicking on...
asked on 23.02.2014 / 19:55
4
answers

Draw where the name can not be drawn more than once

I need to make a simple draw software, but I do not know how to get the names that were inserted in the list box and draw one among them. The same name can not be drawn more than once. How to do this part?     
asked on 31.05.2014 / 06:19