Posts by Lucas Souza • 119 points
10 posts
-
1
votes2
answers115
viewsA: How do you make the <div> with the <img> tag only appear after the photo is loaded?
You can add a class to hide the div, and remove or add if an image is selected. If you do not select an image, the div will disappear again. /** javascript */ $(function(){…
-
1
votes1
answer317
viewsA: How do I integrate React into a MVC (PHP) structure?
the ideal would be to turn your php code into a REST API. This API would return only the data in JSON without view, which will be used in React. You would have your controller based on JSON returns,…
-
1
votes1
answer39
viewsA: Angularjs - Accessing a service variable
Friend, for you to access this variable you will have to go through the function of then. It would be interesting to create a function to access it, as a getLatLng(). Would that way: $http({ method:…
-
0
votes0
answers641
viewsQ: Class not found in namespace
I’m trying to use a class by using the namespace, but it always generates this error: Fatal error: Uncaught Error: Class 'Database\connect' not found in…
-
4
votes1
answer599
viewsQ: How to pass an array in php’s Query function?
Well, I need to spend two in the php query, but I can’t pass them otherwise: $coluna = implode( ',' , $colunas); $date = implode( " ',' " , $dates); $teste2 = "'$date'"; //O teste2 está gerando algo…
phpasked Lucas Souza 119 -
0
votes2
answers703
viewsA: Problem with the pdfMake?
Try to use pdfMake.createPdfKitDocument(conteudoPDF).open(); and check for any errors!
-
0
votes1
answer40
viewsA: How to analyze javascript error in Firefox DEV response
Errors are usually handled in Typeerror, in which case it says that you called an object called "enabled" that does not exist. It would be interesting to put the js code here to take a look! If you…
-
1
votes3
answers805
viewsA: Delete records without updating page
Hello, if records delete, just put a function to delete the "visual" part in Success: <script type="text/javascript"> function excluirLancamento(id) { if (confirm('Tem certeza que deseja…
-
1
votes2
answers4866
viewsA: How to take data from a form and place it inside a Javascript object?
I imagine you’re willing to do the following: <input type="text" id="name" placeholder="Nome"> <input type="email" id="email" placeholder="Email"> <input type="number" id="cpf"…
-
-1
votes2
answers13018
viewsA: Using Bootstrap for Multiselect Dropdown with Checkbox
The problem may be in CDN, try to download the min.css and put inside the directory. <link rel="stylesheet" href="diretorio/arquivo.min.css" /> I’ve had the same kind of problem and it’s been…