Posts by Hemerson Prestes • 655 points
63 posts
-
0
votes1
answer1262
viewsQ: Pick up json value
The server contains a.txt file (http://192.168.27. 3/list.txt) with the following information: [ { "Nome": "Hemerson", "data": "05/11", }, { "Nome": "Hemerson", "data": "06/11", } ] I am wanting to…
-
2
votes1
answer82
viewsQ: Help to subtract 2 results
Hello someone gives a hang here with this code , I would like to take the value of the input less the output subtract in the case, follow my code below ! <script…
-
6
votes2
answers2375
viewsQ: Add real Brazilian currency div
The script is adding up, but only numbers. I would like to have the values with dots and commas. For example: 1,000,00 + 100,00 = 1,100,00 Somebody give that strength? Follow the code below:…
-
0
votes1
answer531
viewsQ: wordpress grab the meta_key value url
I would like to get the separate value url placed on meta_key , I have a custom field "Custom file" called mp3 then put the mp3 multiple fields would like to pick url of each value this code below…
-
0
votes1
answer146
viewsQ: Help with wordpress loop to generate json api
Hello good morning I would like a noose here in this code: 'Object'=> get_the_nome da imagem que esta no destaque() 'Categoria' =>get_the_nome da categoria follows the complete code : $args =…
-
-2
votes1
answer273
viewsQ: Color in an SQL query
I would like to put one with in an SQL query for example: wp_usermeta.meta_key = 'first_name' or wp_usermeta.meta_key ='last_name' I’d like to put red here 'last_name' it is possible? Follow the…
-
1
votes1
answer603
viewsQ: Sequence of mp4 videos
Hello good tie everyone would like that code to make sequence after a 1 video automatically go to the second someone can help me ` <!DOCTYPE html> <html> <head> <style…
-
0
votes0
answers58
viewsQ: Help with custom field
I would like to put in an api my custom field example: "name" => "teste", "name" => "<?php echo get_post_meta( $post->ID, 'nome', true ); ?>", below follows the complete code:…
-
1
votes1
answer830
viewsQ: Display error while loading page with url not found
I wonder if it is possible to create an iframe with URL error ex: if the url is not found type that browser error when the site is outside or the network is disconnected.
-
1
votes1
answer502
viewsQ: Add category of column
Hello I am with this code and I would like to make the sum only of the category "CREDIT" someone gives a force for friend here. $(document).ready(function () { var $entrada = 0, $saida = 0, $total =…
-
6
votes3
answers23957
viewsQ: Calculate values in real R$
Could someone help me calculate the values in cents, transform the value 1.6 in 1.60. Code: $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name='entrada']"),…
javascriptasked Hemerson Prestes 655 -
1
votes0
answers42
viewsQ: Total value outside code
I have this code below, which is doing sum as I want, but I would like it to generate total values, like: TOTAL ENTRY = R$ 200 TOTAL EXIT = R$ 50 TOTAL GENERAL = R$ 150 I wish it was outside the…
javascriptasked Hemerson Prestes 655 -
4
votes1
answer575
viewsQ: Add input and output and subtract
I have this code: $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name='entrada']"), function() { $entrada += parseFloat($(this).text().replace(",", ".")); });…