Posts by Felipe Sangiorge • 111 points
12 posts
-
0
votes1
answer333
viewsA: HTML Binding Angular 4
How was: ngOnInit() { this.remedysService.remedyByMenuId(this.route.snapshot.params['id']) .subscribe(remedy => this.remedy = remedy) console.log(`Parametro : ${this.route.snapshot.params['id']},…
-
0
votes1
answer333
viewsQ: HTML Binding Angular 4
Good afternoon, I need a hand with Angular 4 I have the following method: import { Component, OnInit, Input, Output } from '@angular/core'; import { Remedy } from '../remedy/remedy.model' import {…
-
2
votes1
answer13414
viewsQ: Error: "Can’t set headers after they are sent" on Node.js / Express
I have the following method : //USER_POST router.post('/user', (req,res,next) =>{ var obj = {name:req.body.des_name, email:req.body.des_email, endereco:req.body.des_endereco,…
-
1
votes1
answer1145
viewsQ: Express return post
Good afternoon, I am having a problem in the return of POST on express, I wanted to register users using the following code : router.post('/user', (req,res,next) =>{ var obj =…
-
1
votes1
answer1393
viewsQ: res.json Nodejs/ Express
I have a cruel doubt in nodejs/ Express, I am very new in language but what I need is to pass the id in a route to execute and return a query. I’m wanting to do in fragmented files, so I have a…
-
0
votes1
answer828
viewsQ: Variable within GET Ajax Request
Good afternoon, I need a help, I have this request get from ajax that sends to the web service, and I need to put this variable id, in the url, because inside the webservice I take this variable and…
-
0
votes1
answer89
viewsQ: Placing delete method inside a Jquery append
Guys I’m with the following situation, I make an append and inside it I need to send a delete method, to treat it in the web service I’m having doubts, I’ve tried to create a form inside, but it…
-
0
votes1
answer1521
viewsA: Hover over menu and display submenus
you can use JQUERY on focusout, on focusin or Blur with the following function : $("#id-do-componente").on("focusout",function() { $('#id-do-componente-a-remover').addClass("id-da-classe"); } That…
cssanswered Felipe Sangiorge 111 -
0
votes0
answers57
viewsQ: How to Edit table values via JQUERY after web service receipts
I need to create functions to edit/change and delete values from the table that arrives via JSON from a web service, the part of the webservice to handle what will be sent I know how to do, how do I…
-
1
votes1
answer106
viewsA: Why is my contact form not submitted?
Why don’t you send via Ajax ? jQuery(document).ready(function(){ jQuery('#id-do-formulario').submit(function(){ var dados = jQuery( this ).serialize(); jQuery.ajax({ type: "POST", url: "http://url",…
-
0
votes1
answer118
viewsQ: Table header thead does not align with lines after append
I have a problem with the code, I need to align Thead tags on my table that receives a json of all the data, the data is coming and the header is there, but both are not aligned, I need a help. HTML…
-
1
votes0
answers318
viewsQ: Slim return on the same page of a POST submission
I’m sending a request post to a URL, but I need to return to the same page a message or alert saying if the ID is already registered or not. I already have the query and method to do this, but I am…