Posts by Rodrigo Coelho • 371 points
6 posts
-
5
votes1
answer3970
viewsA: Calendario Javascript
Hello, it’s simple your problem. You are always assigning a day in the variable beg_j = date; //today date beg_j.setDate(1); //<--- passando um único dia Being that you should spend the total of…
-
2
votes1
answer183
viewsQ: Force a 200 header in Ajax while the PHP function is in Sleep
I am creating a chat function, however, the server is waiting for a BD interaction for a period of 10 seconds. The problem is that while the Ajax connection is open waiting for an answer within 10…
-
4
votes2
answers17919
viewsA: Remove and add elements depending on resolution
To change the layout according to a resolution use in CSS the Media Screen: This example below demonstrates that if the browser has a maximum width of 767px it will make justified changes. header…
-
6
votes4
answers1964
viewsA: Set placeholder with PHP variable
It is possible yes: <input type="text" placehold="<?php echo 'palavra'; ?>" />
-
2
votes1
answer35
viewsA: Mysql Query - Transfer
You are wanting to join two columns together. What you can do is add the two columns together and display as one, as follows: SELECT despesa.codRequisicao, despesa.histDespesa,…
-
5
votes1
answer504
viewsQ: Ajax Locking Page Exchange (Longpolling)
I am trying to complete a connection using Long Polling, where the browser sends a request to the server and awaits a response. To avoid this door being open endlessly, I created a routine so that…