All Questions

3
answers

Remove margin with jquery

On a given page, when I open, I need to remove margin from class content to stay as I want. CSS: .three-columns .content { margin: 20px 250px 0 250px; } .content { margin: 20px 0 0 250px; } I'm trying to go through...
asked on 13.02.2014 / 15:43
2
answers

When calling supername method when overwriting a method?

In a class we have several methods overlapping with @Override , and in some, for example onPreExecute of an extended class of AsyncTask , already comes with super.onPreExecute() . @Override protected void onPreExec...
asked on 09.03.2018 / 11:49
2
answers

Catch the index of a value in an array

How do I get an index of a value from my array ? For example: char[] letras = new char[]{'a','b','c','d'}; In letras , I would like to get the index of the value b for example. How do I do this in C #?     
asked on 01.09.2018 / 15:03
3
answers

What does "Dim" mean in Basic?

OK, most programmers (I think the biggest of the majority) of Basic (popular Visual Basic compiler) know what the use of Dim is, but I also believe they do not know What does that word mean ... The keywords in Basic are so obvious (ot...
asked on 30.06.2016 / 07:20
3
answers

How to check if there is a certain number in a php variable?

So I was giving a searched, looking for some function of php that verifies if a certain number exists inside a variable. And I found the preg_match (). code: $numeros = "1 2 3 4 5 6 7 8 9"; preg_match(1,$numeros); Error:   ...
asked on 25.01.2017 / 13:51
2
answers

Error "expects parameter 1 to be mysqli, string given in"

I am creating an insert form to register, but when I click the button it is presenting me an error:    Warning: mysqli_query () expects parameter 1 to be mysqli, string given in C: \ wamp64 \ www \ Project Beauty and Harmony \ Beauty and Harm...
asked on 05.01.2017 / 01:39
5
answers

Search for court data on the TJSP website

I am developing an ASP.NET application with C # that will need to consult the online legal process moves. So far the only way I have found to get this information was to do the direct query on the website of the Court, make the parse of the HT...
asked on 08.08.2014 / 23:26
6
answers

How to leave the average in red?

How do I make the average result turn red if its value is less than 20? Follow the code: <?php function media($p1,$p2,$p3) { $resultado = ($p1 + $p2 + $p3)/3; return $resultado; } $aluno[0]["nome"] = "Ryan"; $aluno[0]["m...
asked on 30.01.2014 / 21:38
3
answers

How can I create a filter to fill zero with the zero in the angular?

I'm developing an application using Laravel and AngularJS . I've always found it difficult to format a number to fill in with zeros in Javascript, so I opted to use Laravel to bring me the number of the id field already forma...
asked on 29.09.2016 / 15:08
2
answers

How to create an infinite array?

I have a problem and I need to create an infinite, or rather undefined, array, so that I can enter as many data as I need ... How could I do it? I'm using JDK6.     
asked on 04.04.2014 / 11:51