All Questions

1
answer

extended classes in javascript with ecmascript6

I have a base class ( Persona , which implements some methods and in its constructor accepts parameters. is the following class Persona { constructor (nombre, apellido) { this.nombre = nombre; this.apellido = apel...
asked on 05.03.2017 / 16:28
3
answers

Delete consonants from a java string

I want to delete the consonants of a string, that is, if hello is entered, its output prints or . I have this code, but it does not do it to me import java.util.Scanner; public class vocales { public static void main(String args[]) { Sc...
asked on 22.01.2017 / 12:50
3
answers

synchronized enumerated

Suppose a scenario in which two enumerated must be synchronized: // Este enumerado necesita los valores porque se almacenan en la base de datos enum class Enum1 { A = 12, B = 4, C = 5, }; // Este enumerado es necesario para realizar tar...
asked on 31.03.2017 / 11:31
2
answers

Differences between strpos, strstr and preg_match

PHP offers numerous methods to find out if a text string contains another substring: strpos : to find the first occurrence strrpos : to find the last occurrence strstr : to find the first occurrence preg_mat...
asked on 22.11.2016 / 15:11
10
answers

How do I get a JSon from AsynTask on android?

This is my function: public class JSONRequest extends AsyncTask <String, Void, JSONObject>{ private JSONCallback activity; public JSONRequest(JSONCallback activity){ this.activity = activity; } @Override protected JSONObject doInB...
asked on 19.10.2016 / 03:42
2
answers

Replace "Async / Await" with "Backgroundworker"?

Greetings to all: I have known for a long time the BackgroundWorker and although it was complicated to get to understand its operation, I use it satisfactorily despite the limitations it poses. I am taking my first steps with Async/...
asked on 19.05.2017 / 10:56
4
answers

Capitalize keys that are being pressed from any input

I would like to write the keys to be capitalized, taking into account that it can be done with any input of the form, that is, that the formula is general. I have the following: function mayus(e) { var tecla=e.value; var t...
asked on 03.04.2017 / 15:07
3
answers

Change color javascript text

I want to change several color labels h1 and h3 when I pass over them and in this way I only change one, each one has its ID. <!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html"/>...
asked on 21.02.2018 / 19:18
2
answers

How to change the shape of the buttons in Windows Forms c #?

Does anyone have any idea how to make the shape of the Windows Forms default buttons change? For example a round button     
asked on 04.12.2017 / 22:14
3
answers

getElementsByTagName multiple field

The code adaptation was to create another variable with the same function and I missed it thanks to @BDOM, I hope that someone else is useful. Now, is there a better way to adapt the code that is more correct? Code in operation:...
asked on 26.03.2018 / 15:04