Posts by vrcca • 384 points
12 posts
-
1
votes2
answers428
viewsA: General questions about using xhtml box, positioning and width
This guy here has gone to a lot of trouble to try to clear all the questions about the Box Model (in English) and I think I can help you: http://learn.shayhowe.com/html-css/opening-the-box-model/…
-
1
votes3
answers7452
viewsA: Delete, edit, copy option
Phpmyadmin is telling you that there is no primary key in this table. It has no way to identify which fields to use for UPDATE, DELETE, etc. Try to define the table primary key and see if you can.…
phpmyadminanswered vrcca 384 -
5
votes2
answers706
viewsA: How to control Javascript file type without capturing extension?
You can recover MIME Type as follows: var mimeType = document.getElementById('fileUploader').files[0].type; if (mimeType == "text/plain") { ... } Example: http://jsfiddle.net/vrcca/Ld8kc/ If you…
javascriptanswered vrcca 384 -
2
votes3
answers522
viewsA: Hide div, display only at home
You can search for text in the URL that identifies that you have changed page using the method index on the property Document.URL. // Se encontrar o texto "/Departamento?idExpandido=" na URL //…
-
1
votes2
answers2749
viewsA: How to create a tab menu with Javascript?
Hello, I know you’ve answered using pure Javascript, but how about this jQuery solution? http://jsfiddle.net/vrcca/a8yM7/ Abs!…
-
1
votes2
answers95
viewsA: problems with graphical mode initialization
Hello. Try to do it this way: PATH="$PATH:/path/bin/:/other_path/bin/" It is important that the previous $PATH variable is concatenated with the new settings, that the paths are separated by two…
-
0
votes3
answers444
viewsA: How to standardize the formatting of javascript and php codes?
Hello, The PHP set some standards in this filing cabinet. About Javascript you can find in these places: https://developer.mozilla.org/en-US/docs/JavaScript_Tips…
-
2
votes2
answers191
viewsA: Disable part of the form by Jquery
Hello! You can use the function .Hide() along with .change() jQuery. $("input[name='opcoes']").change(function () { if ($(this).val() === 'Sim') { $("#painelEndereco").fadeIn(); } else {…
-
5
votes2
answers97
viewsA: The PHP Exception class for the system?
Hello! According to the documentation nay: When an exception is triggered, code soon after the instruction will not be executed, and PHP will try to find the first catch block except fired. If an…
-
0
votes2
answers238
viewsA: Return values through a class derived from the same Parent
Hello! As the class 2b(controllers) is a dependency of class 2a(modules), I believe that the constructor of 2a should receive obligatorily a reference of 2b. I would do it this way: class modulos…
-
1
votes1
answer429
viewsA: Problem configuring spring data jpa project with Hsqldb
Hello! This may occur because the main method signature is incorrect or because the class containing the main method is not defined in Class-Path. Signature of the correct main method: public static…
-
2
votes2
answers1367
viewsA: Locked socket when performing data exchange
You need to close the output on the server so the client understands that the message is over: // recebendo String teste = bufferedReader.readLine(); output.write("Teste".getBytes());…