Interesting questions
-
0
votes1
answer53
viewsSpring security - Some questions
I am implemented spring security, in the application. You are logging in correctly, logout too. In the pages below only enters if you have logged in with the scroll ROLE_ADMINISTRADOR. @Override…
-
8
votes3
answers22485
viewsPass php variable to javascript
Someone could tell me how to pass a PHP variable to Javascript code. I know there are already many posts about it and I’ve tried to apply only that I must be doing something wrong so I decided to…
-
0
votes1
answer1257
viewsmaskMoney(jquery) not displaying value correctly
Good afternoon guys, I’m having a problem using the maskMoney plugin from jQuery. I am using the following statement before <div style="float:left; width: 25%"> <asp:Label ID="Label24"…
-
7
votes1
answer223
viewsWhy hide the implementation of a class?
This is the concept I’ve worked hard to understand, but I’ve never fully achieved. I’ll take this excerpt from a Deitel book to illustrate: It is a better software engineering define member…
-
0
votes2
answers761
viewsArgued tofrangeexception with Entity
I have a method that waits for a file object, what it does is add the references in the database: Look at the method: internal void AddArquivo(Model.Arquivo arquivo) { using (var ctx = new…
-
2
votes1
answer30
viewsHow do I publish all git branchs at once to my remote repository on github?
I have several branchs that I created in my git (Aula1, aula2, aula3) that are variations of the same index.html file, but when I send to github I can send only the master Is there any way to send…
-
2
votes1
answer3394
viewsCenter image in the middle of Android screen
How do I align an image in the center of the screen on Android? I’m using the code below, but it’s centered at the top of the screen: <?xml version="1.0" encoding="utf-8"?> <LinearLayout…
-
-3
votes1
answer25
viewsWorking with arrays
I have this array: {tag: "teste"} how do I save the test word in a variable?
-
0
votes1
answer56
viewsHow to get the value of an HTML input and put into a "href" attribute?
<h2>Pesquisar Usuários</h2> <form action=""> <input type="text" id="name" name="name"> <a href="#" onclick="window.open('/Usuarios/Usuario?id=' + input)"…
-
0
votes1
answer50
viewsDynamic upload input layout with gallery
Hello, I’m creating a resource where the mechanism should: choose an image in the input when performing input change, a new one is created via js next when I get there, I need help, because the…
-
2
votes1
answer2242
viewsHow to scroll through a list in Prolog to find a specific item
I am a beginner in Prolog and I have doubts about how to go through a list. I have a predicate historico(ra,[i1,i2,i3,...,in]) where ra is the Academic Record of a student and each i is an item,…
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 6 years, 10 months ago Fernando Munhoz 163 -
1
votes0
answers114
viewsSelect Google Maps Location, similar Uber/99
Talk people, all good? I’m making an app where I need to select where the user is, very similar to Uber and 99. However I do not want to rely only on Geolocation, I wanted to set directly on the…
-
1
votes2
answers258
viewsHow to compare with Guid Mvc
Hello, I would like to make this comparison using a Guid, public Guid ClienteID {get;set;}. This code works using a int, I make a if, if my ClienteID == 0 I save, and if it doesn’t equal 0 I change.…
-
0
votes1
answer53
viewsHow to remove an input type select from serialize
Good morning Guys! Great Friday!! I’m having a doubt here I’m getting all the data from a form $.post("salvar_1.php", $("#form").serialize()) More need to remove a select with the name date,…
-
0
votes0
answers56
viewsLock . click() on a label
I have the following code: $("input[type='radio'][class='tipo']").click(function() { url = $(this).attr('data-route'); id = $(this).attr('id'); $.ajax({ url: url, type: "POST", dataType: "json",…
-
0
votes1
answer58
viewsGroup function does not work
I have two tables. Table: Pedido Columns: IDPEDIDO, CLIENTE, DT_PEDIDO, FORMA_PGMT, CLIENTE_ID. Table: Itens_Pedido Columns: PEDIDO_ID, QT_MERCADORIAS, MERCADORIA, MERCADORIA_ID. I need to create a…
-
0
votes2
answers65
viewsDifference between tables, criteria
I have two tables like the following:I want to get the data that are in the Table on the left and that are not in the right. Since the two tables have a common field, CPF, I want to generate another…
-
4
votes1
answer1208
viewsHow to print a View to a standard printer using Javascript or c#?
I need to print the contents of a view on the default printer. How can I do this using c# or javascript?
-
0
votes1
answer141
viewsHow to cancel Edittext enter?
I wish the keyboard didn’t happen when the user touched enter. How can I do that?