All Questions

1
answer

Problems with events in dynamically created elements

My intention is: A listing where you can add <div> and delete the divs added with a "button" inserted in each div . The page already comes with a fixed% inserted divs that are the same as those that will be added....
asked on 16.07.2014 / 03:58
3
answers

Infinite object?

I ended up doing something that made me curious: I created a following Cao class: public class Cao { String nomeDoCao = null; Cao caes = new Cao(); public void setName(String name) { nomeDoCao = name; } publi...
asked on 22.07.2014 / 02:48
1
answer

How to issue the XML from NFe to SEFAZ WS using C #?

I have been doing a lot of research, reading various source codes from other languages and I have never found an answer to my question, what method of SEFAZ web services should I call? I'm working with this WS http://nfe.fazenda.mg.gov.br/...
asked on 08.10.2014 / 15:34
2
answers

Regex in Javascript: grouping

As input from the user I am expecting pairs of numbers separated by commas: // se for um par só 1-2 // se for mais de um par 1-2,3-4,5-6 I expect something like this: [ [1, 2], [3, 4], [5, 6] ] I'm in doubt about getting this ou...
asked on 18.06.2014 / 18:40
3
answers

What is the best way to replace a character in a given String position?

I need to replace a character at a certain position in String (). Example - Change character [21] to 'X': Original String = 01078989469150999134B B 2116456 Modified String = 01078989469150999134B X 2116456 I'm using the follo...
asked on 01.08.2014 / 20:56
2
answers

Send objects via socket

I have a chat that exchanges messages ( String ) with each other. Everything is working properly. But now, I want to start sending objects via Socket , for example, a class that has some attributes set by me (eg, name, IP, host name,...
asked on 16.07.2014 / 04:21
3
answers

Regular expression to get the value after the comma

With the following expression (,) ([0-9] *) can get 25, but I would like to get only 25. decimal (10.25) In this case how do I disregard ,     
asked on 12.07.2014 / 16:17
1
answer

How to apply a style on two different elements using: hover?

Considering: HTML <div id="div1"> <p>Elemento 1</p> </div> <div id="div2"> <p>Elemento 2</p> </div> How can I use :hover in div1 to change style properties of div...
asked on 26.07.2014 / 03:11
3
answers

Is there a better way to insert an option in select with jquery?

I wanted to know if there is a better way to insert option into select with jquery. Example: <select name="municipio_evento" id="municipio_evento"> <option value=""></option> <option value="1">ACEGUA<...
asked on 07.10.2014 / 19:50
4
answers

With data exchange between a mobile (android) and another device through Bluetooth communication?

How can I connect and disconnect with any device via Bluetooth communication and then exchange (send and / or receive) data?     
asked on 26.09.2014 / 06:02