Posts by Franck Costa • 433 points
24 posts
-
4
votes2
answers824
viewsA: Toggle status (True/False) by clicking a button - Javascript
Dude, as @fwerther mentioned, something for just the class change and what he did caters to your needs. However, I adapted your code to make more sense, if you want to have the dynamics of saving…
-
2
votes1
answer283
viewsQ: res.render does not load . handlerbars within route - Node.JS and Handlerbars
Good night! I’m learning Node.JS and I’m stuck on the routes. I have the following codes. //app.js // carregando modulos const express = require('express') const handlebars =…
-
1
votes3
answers3905
viewsA: Usable but invisible input
There are some problems in your code, come on: First: Your conditional is assigning a value and not comparing it, ie if you need to compare you use two equal signs, so ==. Second: To pass the value…
-
0
votes3
answers647
viewsA: Popular HTML table from a Combobox
$('#especialidade').on('change',function(){ var option = $("#especialidade").attr('select','selected'); var val = option.val(); $('#localatendimento tbody').html(val); }) <script…
-
0
votes2
answers849
viewsA: Add a None display to a div
The PHP is a server language, that is, it does not manipulate elements on the page but data that are processed in the server. She is not fit to do what you are trying, in which case I advise you to…
-
0
votes1
answer376
viewsA: Git: error 403 when committing - Fatal: access Unable
I found the solution, it was missing the owner of the repository give me permission to write, I was just reading.
-
0
votes1
answer376
viewsQ: Git: error 403 when committing - Fatal: access Unable
Good morning, everyone! The story is, I got the invitation to access a repository and I was able to clone it, so that’s okay, but when I went to commit he gave me 403: unable to access, I’m using…
-
0
votes1
answer264
viewsA: Send multiple files via PHP
Only one input I believe it is not possible, but you can create several inputs by assigning the nameas a array and then you make a for inside it and up one file at a time, follows example. <input…
-
0
votes1
answer59
viewsA: function executing action even if false
The problem is that you are placing the function in an element that is within a href, ie regardless of the value it is true or false He’ll move on to the next page. What can be done and redirect…
javascriptanswered Franck Costa 433 -
0
votes1
answer153
viewsA: Calling Javascript function after reading a JSON
You can use the method .done() from Jquery to do this, it will do something when you finish processing Json, so I saw in your code it would look like this. function findJogosPs4() { let produtosPs4…
javascriptanswered Franck Costa 433 -
0
votes1
answer388
viewsA: How to click a button and activate an "active" php class
Friend from what I understand you want the active elements according to the steps in progress, I made a code where the Wizard is set according to the user’s click, when you choose the step, it arrow…
-
-1
votes1
answer112
viewsQ: Files do not appear after deleting gitignore
I created a repository locally, but before uploading the files into the server repository I used sourcetree to ignore files that I didn’t need to upload and then he created one. gitignore, however I…
-
5
votes1
answer3525
viewsQ: Cakephp 3.0.1 error message
I have a problem installing the Cakephp, I’m using the Xampp, with PHP 5.5, and displays the message: Fatal error: You must enable the Intl Extension to use Cakephp. in C: Users inhome Desktop io…
-
1
votes2
answers455
viewsQ: List of Exception PHP errors
Where can I find a list of error codes for exceptions of try catch in PHP?
-
1
votes2
answers369
viewsA: Show php data inside tabs
Your PHPshould look like this: $i = 1; while($exibe = mysql_fetch_array($qr)){ echo" <div id='tabs-".$i."'> <p>".$exibe['Morada']."</p> <p>".$exibe['Distrito']."</p>…
phpanswered Franck Costa 433 -
1
votes2
answers692
viewsA: jQuery - Switching background-image of an element
In the way .MAP() you must pass a stop before function() With some information, alt, as a array with all the information you want to manipulate. According to the documentation jquery. Ex: var arr =…
-
1
votes1
answer260
viewsA: html with jquery (tabs)
I think what you’re looking for is this. Each tab will contain the content you need, when doing the fecth, already add in each tabs the content you need. in the link below follows system with TABS…
-
3
votes3
answers497
viewsQ: Take matrix size with EQ() - Jquery
I’m with a html which has five elements div. I would like you to help me somehow to make a Get the size of this matrix in Jquery. Ex: with the function eq(), consige take a page element, referenced…
-
0
votes4
answers1039
viewsA: Error while displaying video html
Away, may be the type of video you are trying to run with the browser you do not recognize. For example Chrome gives the certainty that it will display videos with the format .ogg, already the…
-
0
votes1
answer2826
viewsQ: form-group Bootstrap
I made a form with Bootstrap, but I need to position it in the middle of the screen. positioned myself with col-md-offset-? horizontally, but I need to position it vertically. some way in Bootstrap…
-
1
votes1
answer194
viewsQ: Grid Sytem Bootstrap
I’m trying to use Bootstrap’s Grid System, but I can’t. I read those two questions: How the grid system works?, Spacing with bootstrap columns. I followed exactly what was answered, but it still…
-
2
votes2
answers545
viewsQ: With which files should you use the <link> tag with Bootstrap?
I’m studying about the Twitter Bootstrap and I have a question: with which files should use the tag <link>? Are all files or just some specific files?…
-
1
votes5
answers8743
viewsA: Center a form vertically
In class '.content' put 'top:20%;', this will help. .content{ width: 1100px; float: left; position: relative; left: 9.7%; top:20%; }…
-
0
votes1
answer2283
viewsQ: API Google Drive PHP
I’m using Google Drive to upload files via php, with the API they provide, however, the library that Google passes requests a file that does not exist in this library that is provided to us. Follow…