Posts by LittleFish • 27 points
5 posts
-
-2
votes2
answers109
viewsA: Do not redirect form - nodejs
I don’t know how the code is but I could try to take the action from the tag and make an ajax request inside your mySubmitFunction. Note: Keep the preventDefault
-
1
votes2
answers3288
viewsA: Adding values from an array
I don’t understand what you mean but supposing you want to add up the array values: package primeiro; import java.util.ArrayList; import java.util.Scanner; public class Testes { public static void…
-
0
votes2
answers860
viewsA: Nestjs with Typeorm for Mysql - Nodejs
It worked when I passed the settings to a 'ormconfig.json' file Goes below: app module. @Module({ imports: [ TypeOrmModule.forRoot(), UserModule ], controllers: [AppController], providers:…
-
2
votes3
answers61
viewsA: How to make the site respond to text? Ex: user X: "hi user X" if not this user "hi unknown user"
There are syntax and logic errors as already commented above. Revise some concepts and if possible indent the code. <!DOCTYPE html> <html> <body> <input type="text" name="text"…
-
0
votes2
answers860
viewsQ: Nestjs with Typeorm for Mysql - Nodejs
I’m starting in the area so sorry if it’s something silly. I started developing a server using Nestjs with Typeorm to connect to a Mysql database but am picking up the following error: 'No…