Posts by John-Jones • 93 points
7 posts
-
1
votes3
answers90
viewsA: Give form Ubmit with empty field validations
You can link the Submit event directly in the form and pass this as its parameter (already making a reference to the Angular). <form onsubmit="qualquerEvento(this)"> <button…
-
1
votes0
answers61
viewsQ: require() on the client side
I am currently studying integrations with IBM Watson, more precisely Speech to text, I would like to integrate this solution on the client side, so that you do not need to make requests to the…
-
0
votes1
answer62
viewsA: Assign string value with pre-defined size inside the pointer
Try something like that typedef struct _socio { unsigned int nCliente, tel; char nome[100 + 1]; endereco morada; emprestimos filmes[30]; } socio; typedef struct socio *Socio; int main() { int qtde,…
-
1
votes2
answers1993
viewsA: Checkbox with jQuery Enable and Disable field
Does it help you ? $("#check_adulto").on("click", function (){ var isDisabled = $(".adulto").is(':disabled'); if (isDisabled) { $(".adulto").prop('disabled', false); } else {…
jqueryanswered John-Jones 93 -
0
votes2
answers91
viewsA: Jquery calculation with mask and large values
A very simple solution would be for you to use: var resultado = 99.00 * 2; $('#nomedavariavel').val(resultado.toFixed(2)); $('#nomedavariavel').unmask().mask('#.##0,00', { reverse: true }); Hugs.…
jqueryanswered John-Jones 93 -
2
votes1
answer911
viewsA: Return data from 2 Entity framework tables
So you want to list all the moves a customer made and pull all the products from those drives ? Then you have 2 relations an n : n (of products for drives) and 1 : n (customer and drives). So what…
-
1
votes2
answers1243
viewsQ: Receive images in ASP.Net Core and save to Entity Framework
Good afternoon, Can anyone tell me how to get an image on ASP.Net Core ? I have the html page that tries to send to the server: <form method="post" enctype="multipart/form-data"…