All Questions

4
answers

Using auto reference

On the use of auto reference this wanted to know what difference to make: public static class Aluno{ private String nome; public String getNome(){ return nome; } public Aluno(){ this.nome="abc"; } }...
asked on 18.01.2017 / 12:33
2
answers

How to leave an element invisible when the value is 0?

I'm making a kind of "simple notification system" in CSS . What I want is that when the number of notifications is (0) it stays with display:none; . I know a way I think it's possible to do. Ex: .bolinha [style*="t...
asked on 04.06.2014 / 05:16
2
answers

Unusual way to use a function in jquery

This answer to a question brought something I did not know: a return with two pairs of brackets return[][] in a function, solving a problem in a simple but unknown way for me. The question asked for the return of the correct day...
asked on 15.12.2016 / 13:03
2
answers

Is it possible to work directly with EntityFramework sources?

Is it possible to work directly with Entity Framework and debug sources within your classes and methods? > I downloaded the zip code from it contained in CodePlex . I unpacked it into a folder and in my project I added the project dire...
asked on 27.08.2014 / 23:07
4
answers

Search between dates

I need to search my MySQL for some registered employees. I have the dt_nation field and I need, for example, to look for employees who are between 20 and 30 years old, how can I do that? With this code snippet I get the dates, but unfortunate...
asked on 21.05.2014 / 19:49
2
answers

Remove comma with jQuery

I have a part of a blog that is manageable. These are the TAGS. By default in the system, you tell the TAG in a specific field and it includes the blog. The code looks like this: <a href='blablabla' class='tags'>tagSYS, </a>...
asked on 23.05.2014 / 13:57
2
answers

Block PHP page to only show data if it is an AJAX request [duplicate]

I have a .php file that loads and displays all news from my database, I use this file to load the news dynamically with AJAX. So far so good, the user can usually go to the index.html page and see the news that has been uploaded...
asked on 22.08.2014 / 20:47
2
answers

Time between (between) "start time" and "end time"

I'm having problems catching the current time, in case I'm using CURTIME () , I need to fetch the results that the current time is between the time value of the start time and final time , I tried the following ways, however, without success...
asked on 12.09.2014 / 04:45
1
answer

How to pass parameter to MVC controller

How to pass text or index from a DropDownList to Controller at the press of a button? I tried using @model and could not. I tried by adding [HttpPost] to Controller and using the submit button and it...
asked on 19.01.2017 / 19:11
3
answers

How to validate the CEI in ruby?

To validate CPF and CNPJ I use 'brcpfcnpj' in Gemfile. But I did not find anything to validate the CEI. How to validate the INSS Specific Registry in Ruby on Rails?     
asked on 29.05.2014 / 15:20