Posts by Vinicius Shiguemori • 455 points
23 posts
-
0
votes1
answer51
viewsA: Summernote error while removing Bold
The problem was found, what happened was the CSS of the page where it defined the font-Weight different from the default, so when adding a css : b { font-weight: 700; } summernote was able to…
-
0
votes1
answer51
viewsQ: Summernote error while removing Bold
I’m using Summernote with these settings : $('#editor1').summernote({ toolbar: [ ['custom', ['comment']], ['style', ['style']], ['font', ['bold', 'underline', 'clear']], ['fontname', ['fontname']],…
-
1
votes3
answers96
viewsA: How to keep a div always active
As well as @Gustavocinque said in the comments your code can be arranged like this : function myFunctionX() { var x = document.getElementById("myDIV"); var y = document.getElementById("myDIV2"); var…
javascriptanswered Vinicius Shiguemori 455 -
0
votes1
answer532
viewsA: focus on input loaded via ajax
I had a similar problem but my solution I believe is not for you , so I took a look and found in Soen reference link the following solution : Put a setTimeout //... seu codigo…
-
3
votes1
answer127
viewsQ: Types of ordering and their performance, which one to choose?
I know of various forms of ordination such as Selection Sort, Bubble Sort and Quicksort, we also have PHP functions like sort() and array_multisort(). Currently the system I developed works with…
-
3
votes2
answers730
viewsA: How to pass two arguments in Javascript’s onclick function, programming in PHP?
Your problem is that the '' of his arguments, correcting his code he gets like this : echo ' <button type="button" class="btn btn-link btn-comentario-reposta"…
-
0
votes1
answer372
viewsQ: Error mysql_error() = "" and mysql_errno() = "0"
Times on the system where work happens to appear the following errors mysql_error() = "" and mysql_errno() = "0", but it happens very rarely . my code: // Essa função está dentro de uma class do meu…
-
1
votes1
answer44
viewsQ: What extensions are supported by $_FILES?
In my system the user can include files within a comment. The problem is that some file extensions are giving error (for example gave error in an Excel spreadsheet). I wonder if you have how to set…
phpasked Vinicius Shiguemori 455 -
1
votes1
answer32
viewsA: How to Catch SGV’s Highcharts
To catch the SVG, you need the id or some tag identifier you placed the Chart, for example my code to follow I put my Chart in div: <div id="Chart"></div> // codigo da pagina…
-
1
votes1
answer779
viewsA: Loop to receive form data and save with array
You can try to create an array before the loop and insert in it the value of the variables of the $_POST thus : $data = array(); foreach($_POST as $nome_campo => $valor) { $data[$nome_campo] =…
phpanswered Vinicius Shiguemori 455 -
0
votes1
answer42
viewsA: Boostrap and two buttons
If you can put everything in the same file so you will be able to run <?php if (isset($_POST['buttonRegister'])) { $name = $_POST['registerName']; $lastName = $_POST['registerLastName']; $email =…
-
2
votes3
answers7570
viewsA: Read PHP Multidimensional Array
You just need to give your for foreach ($Array as $key => $row) { // seu codigo } where the variable $key has the array id value, already answered a similar question here the link : How to print…
phpanswered Vinicius Shiguemori 455 -
0
votes1
answer134
viewsA: As the action force of jquery change inside php while loop
As I had commented you can try to catch the value of each option of your select through a .each thus : $(function() { $("#ufs option").each(function(){ var value = $(this).val(); // seu codigo ...…
-
2
votes2
answers1281
viewsA: How to check if there is a string in this array?
If it didn’t work out the way you did (I believe it’s pq vc has an object inside the array), you can try going through the entire array and go through it one by one like this : foreach ($array as…
phpanswered Vinicius Shiguemori 455 -
2
votes2
answers3049
viewsA: How to print an array with indexes and values in PHP?
The first foreach will go through the matrix and pick up the indices to create the top of the table and it has a break so that it only runs once, depending on how it is generated this matrix can get…
-
0
votes2
answers64
viewsQ: Deleting a Session automatically
What I’m thinking of doing is "hang out" with a session_destroy() when the same user logs in somewhere else. There’s a way to do it ?
phpasked Vinicius Shiguemori 455 -
-2
votes2
answers5395
viewsA: DIV Display text while hovering
I did using jQuery css: .corpo { width:200px; min-height:50px; background-color:red; } html : <div class="corpo" id="seuId" onmouseover="$('#seuId').html('seuTexto');"…
-
1
votes3
answers143
viewsA: Hide an image when a web page is loaded on a mobile device
You can use bootstrap classes like Hidden-lg, Hidden-Md, Hidden-Sm and Hidden-Xs for example : <img alt="" class="hidden-xs" src="caminho"> if you can’t change the html, have option for JS…
-
0
votes4
answers562
viewsA: Display the output of a JS variable through Jquery in an html input
I have this page that I created as a suggestion for you <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head>…
jqueryanswered Vinicius Shiguemori 455 -
1
votes3
answers203
viewsA: Combine arrays
I made a JS version var array1 = ["A","B","C"]; var array2 = [1,2,3]; var array3 = ["x","y","z"]; var array4 = [22,33,44]; var array5 = ["te","s","t"]; // fazer um array para receber todos os arrays…
-
0
votes2
answers510
viewsA: How to load html page with the scroll bar of a DIV at the end?
The pre-scrollable class is one of the bootstrap I used, it leaves the div with a scroll <!DOCTYPE html> <html lang="pt-br"> <head> <link rel="stylesheet"…
-
3
votes2
answers258
viewsA: Create interactive grid with CSS
I believe that using a Modal would be interesting, I can recommend you the site of w3school (https://www.w3schools.com/howto/howto_css_modal_images.asp) he helped me a lot to get a sense at first.…
-
0
votes2
answers144
viewsA: Calling method in the action of a form that invokes which page should be redirected
I did this recently using Jquery and Ajax, the function that Voce looks for is . keyup my example : // Essa função verifica se o email ja existe e desabilita o botão function verif_email(email,nome)…