Posts by Carlos Henrique • 494 points
27 posts
-
0
votes1
answer79
viewsQ: Submit file with jquery
Good afternoon, I need a code that simulates the submission of an input file that when selected some value, it submits to php in the same way as if it were submitting in an html form. For example…
-
2
votes2
answers595
viewsQ: Height x Width - Javascript - External Image
I need to take the value of height and width of an external image, with Javascript/Jquery, that is, without being implemented in the code the image.
-
0
votes2
answers1411
viewsQ: Open/Run input file - jQuery
How can I open/Run an input file using jQuery?! I have a php code that has the input file your css display:none;(Invisible), I need that when I click on an element, for example an image the input…
-
1
votes2
answers48
viewsA: Error Insert mysqli
Try it this way: $query = " UPDATE tbl_image SET image_album='$img_album',image_text = '$img_text',image_path = '$document' where id = '$id' "; Correct syntax: UPDATE tablename SET column1 = value1,…
-
3
votes3
answers1292
viewsQ: How can I manipulate CSS from parent element to clicked element?
I need to change my code so that when I click on a div, the parent div changes its css. For example I click on an input inside the div, and the parent div changes its css. I have the following code:…
-
0
votes0
answers24
viewsQ: $_FILES - Security
Why is $_FILES empty if the file is locked (Downloaded)? For example a pdf or an image that when downloaded has the following properties: And if there is a way to solve these problems to upload,…
-
1
votes1
answer196
viewsQ: Error - Display an image saved in the BLOB database
I have a php script that already does the insertion of images in the database, as shown below: <?php session_start(); include "conexao.inc.php"; setlocale( LC_ALL, 'pt_BR', 'pt_BR.iso-8859-1',…
-
1
votes1
answer1234
viewsQ: Dompdf Illegal error "string offset 'Hex' online 1150 style.cls.php"
I have the following code: <?php session_start(); if(isset($_SESSION['logado'])==false){ echo("<script>window.location = 'login.php';</script>"); } ?> <!DOCTYPE html>…
-
2
votes1
answer132
viewsQ: Ajax Commit - Enter
How can I make a commit with ajax using the enter key? That is, I have the following code: var nome = $("#nome").val(); jQuery.ajax({ method: "get", url: "teste.php", data: { "nome": nome },…
-
0
votes1
answer909
viewsQ: Create online clock - Auto generate
I have the following code: <script type="text/javascript"> $.ajax({ type : 'post', url : 'menu.php', // data : 'nome='+ $('#hora').val(), dataType : 'html', success : function(resultado){…
-
1
votes3
answers1448
viewsQ: Error - fa icons (Fontawesome.css)
Some class icons like, fa fa-user appear within the system, but other icons like fa fa-user-circle-o hyphen do not appear. Follow below the image, as you can see is no icon Access Edition: CSS code:…
-
3
votes2
answers909
viewsA: Error - Font-Awesome icon
I was taking a look here and was able to find that the problem I was having, according to the error that the browser reported is that it requested two files that were inside the folder fonts, which…
font-awesomeanswered Carlos Henrique 494 -
4
votes2
answers909
viewsQ: Error - Font-Awesome icon
Need to Add an icon in a menu, the icon I want to use is the: fa fa-file-pdf-o (PDF) Classy: font-awesome.min.css Only there is a problem when I add it. It appears as follows: The HTML code that…
font-awesomeasked Carlos Henrique 494 -
1
votes1
answer560
viewsA: Function calculation with Javascript Return
I believe you want this: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Exercicio1</title> <script> function caculoCompra(total,parcelas){ var…
-
2
votes3
answers664
viewsQ: Required no Ajax
I have a code that I need that when submitted, some fields are mandatory to be filled in, type o required html only in Ajax, instead of using Alert as I am using, it uses required as in html. Follow…
-
1
votes1
answer838
viewsQ: Delete Label text with jquery
I need to delete the text contained within the tag label ("Justification") with jquery, follow the code: function add_text() { if ($("#tipo").val() == "Falta") { $(".b").remove();…
-
0
votes1
answer60
viewsQ: Parameter by Ajax
I need to pass some arguments through Ajax, at first the code presents syntax error. var comeco = $("data_filtroe").val(); var fim = $("data_filtrod").val(); jQuery.ajax({ type: "get", url:…
ajaxasked Carlos Henrique 494 -
15
votes2
answers39989
viewsQ: What are data-target and data-toggle attributes for?
I need to know what those two attributes are for data-target and data-toggle who stay in inputs, buttons and similar in HTML?
-
4
votes2
answers6024
viewsQ: Initialize apache and mysql in windows 7 32 Bits using Xampp
I would like to initialize Apache and Mysql from Xampp as soon as the system is initialized, I did some research and found this: Service installation: In C:/xampp/apache double-click…
-
1
votes2
answers2936
viewsA: Insert special mysql characters and pull these identical values in the web application
I managed to solve as follows, Thank you Fabiano Lira, Gato. mysql_set_charset("utf8");
-
0
votes2
answers2936
viewsQ: Insert special mysql characters and pull these identical values in the web application
Good evening, I need to add values to the database by mysql so that they have special characters. I can add, but I can’t pull the values correctly, they end up coming with symbols in place of the…
-
1
votes2
answers49
viewsQ: Auto-Complete with database values in input text type
Good evening, I need a code that when entering the input the user will see suggestions below that should be the values pulled from the bank. <input type="text" id="pesquisa" name="pesquisa">…
-
1
votes3
answers2670
viewsA: Table with horizontal scrollbar
You should put a div like colleague @Leon Freire said, only you put in css the size of the div as well as the size of the table, right after that you use the overflow command in css. #caixa_tabela{…
-
0
votes3
answers110
viewsQ: Visited in tr table
I have a table that when being clicked a tr, a screen is generated on the page itself according to what was selected, I need a css code (if possible), that when being clicked the tr it is with a…
-
0
votes1
answer54
viewsA: View user information on another page
In the profile.php code remove the <?php session_start(); ?>, If you start two sessions at once, php cannot run.
-
0
votes1
answer62
viewsQ: Create animation "Fadeout"
The table is created by javascript code when clicked on an item in another table, but it has no animation. The animation I want to put is "Fadeout". When the table item is clicked, it should appear…
-
0
votes2
answers57
viewsQ: How to create a checkbox that cannot be changed (readonly)
I would like to make sure that the checkbox is not changed (readonly).