Interesting questions
-
1
votes1
answer321
viewsJquery Validate does not execute the event when fields are autocompleted
I am trying to validate a form without submitting it. What I have done so far works well. The problem is when the browser auto-fill completes the login and password that were saved to the IP. If I…
-
1
votes2
answers471
viewsTake programmatically generated Edittext values
I have an APP, which preencho a quantidade de jogadores that will have the championship and I click on a botão to create the championship. This button plays for a activity that takes the amount that…
-
0
votes1
answer51
viewsDistribution of points in html
I made this code here: <div class="snippet"> <p>Habilidades:</p> <div> <label for="Passe">Passe</label> </div> <input type="range" id="start"…
-
0
votes1
answer332
viewsHow to access a class that is inside a folder in the Laravel vendor?
I can’t access Spreadsheet class, it appears: use Illuminate\Database\Eloquent\Model; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xlsx; class Excel extends Model {…
-
2
votes1
answer208
viewsHTML5 Semantic Structuring, How to Use?
Context I was making a template prototype for a website, and I came across a question regarding the tag <aside>. Below is an example to explain the semantic division. Explaining the tags Tag…
-
1
votes1
answer84
viewsDifference between extends and include using the SWIG Template Engine
I’m using the Template Engine with Nodejs and I couldn’t understand the difference between using extends and include. I was able to understand that the include you included directly a part of HTML…
node.jsasked 9 years, 10 months ago cmcampos86 207 -
0
votes1
answer59
viewsI cannot use an attribute started with the constructor in typescript
I am using typescript, typeorm, postgres and express; I am trying to start the Teamrepository class created by me through a constructor within the Teamcontroller class, but within the methods that…
-
2
votes1
answer214
viewsSave entities with one relationship to many using Webapi
I am starting a project in Webapi and came across a situation that did not know how to define my class of Controller. I have the following structure public class Artigo { public int ArtigoId { get;…
-
4
votes1
answer783
viewsTwo conditions in SQL query with Laravel 4
I need to make a query to Mysql with two conditions. I tried to do so: $query=DB::table('veteranos')->where('ra', '2300')->where('flag', 0)->pluck('ra'); In this way, the second condition…
-
0
votes2
answers42
viewsLaravel: Missing field error in SQL even passing field
I am trying to do an update on Laravel with: The second line since code was only added to make sure I could pass the date, as it is already being passed through the form, as I could check using…
laravelasked 5 years, 11 months ago Paulo Martins 390 -
0
votes0
answers23
viewshow to make the hedge move towards the cursor arrow
Next I wanted to do something like this hedge animation, however I do not know how to make the cover follow the mouse, the method I used at most with low-up or right-left. The code below ta inside…
-
2
votes1
answer97
viewsReturn the smallest value using the Entity Framework
I’m quite inexperienced, that’s true, but I’ve grown a pair and I’ve come here to ask.. I’ve been stuck for a few hours on a solution that apparently would have everything to be simple, but I can’t…
-
-1
votes1
answer27
viewsFailed to load images in npm package development
I was developing an npm package and came across the following error. My current project structure is as follows:. inside my Assets folder has some images that I am needing to use for the development…
-
1
votes1
answer27
viewsInsert numbers before variable
I want to insert the variable phone with the 351 before the variable, I’m trying this way: $query = 'INSERT INTO raddb.Utente (telefone) VALUES ( ?)'; $stmt = $conn->prepare( $query );…
-
1
votes1
answer4772
viewsCreate a dictionary from a list
I have the following list: msg = ['CAD400','Uma Filial...','Solucao:','O campo...','','LIB310','A Filial...','Solucao:','Foi identificado...','Foi…
-
0
votes1
answer568
viewsPsqlexception: No results returned by query
I cannot identify the error that is returning when trying to insert data to the BD. I believe the error is in the insert function. The error returned is: Exception in thread "main"…
-
1
votes0
answers30
viewsGoogle Chart - Treemap does not appear
Hello, I’m trying to plot a treemap with data from a BD (mysql), however, nothing appears. I have tried several alternatives and unsuccessfully. I have been able to plot several graphs, except…
-
0
votes1
answer70
viewsInput Submit value in two colors
My first question here... starting my studies... I have the following problem: <input type="submit" value="Enviar E-book"> I need in the Bt text, "Send" to be one color and "E-book" to…
-
-2
votes2
answers113
viewsView pdf file with url in the database in the browser
Hello! I have an application that uploads the PDF file whose url is saved in the database and the file in a folder. By clicking the view button the pdf file opens in the browser. <a…
-
1
votes1
answer90
viewsAlgorithm bugs that encrypt text
I’m writing an algorithm that encrypts text using a word as a password, Vigenère cipher. Upper and lower case characters should encrypt, special characters and numbers should be ignored. My…