I'm doing a query to the database, and to display the result on a #form element of the form, Nodejs does not recognize the document.getElementById ('element'), nor jQuery.
Error:
ReferenceError: document is not defined
My method:
Clien...
Programming my first system I came across a little problem ... I'm creating a client system and changed the structure of the views folder as follows:
/ app
/ views
/ clients
clients.ejs
add.ejs
/ users
users.ejs
add.ejs...
I'm developing a program and out of nowhere in creating a simple page appeared the error below:
The program is working everything but this page that appears this error:
I've gone over all the lines and found nothing, because I did not chan...
I have a N: N relationship and 3 tables: projeto , pagamento and projeto_pagamento . In a form, I want to register a project and 5 payments, what would be the best way to accomplish this insertion?
I thought of doing a post...
I'm developing an angular application2 and wanted to create dynamic routes, which were generated from a .json file.
Searching the following code:
import { Routes ,RouterModule } from '@angular/router';
export const routes: Routes = getScreens...
In an attempt to install Cordova + Ionic using Node.js, the following error is occurring:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "-g" "...
How to consume a multipart / form-data method of a webservice done in java, by ajax or jquery?
Below I leave the method as follows:
JAVA:
@POST
@Path("/aprovarCompra")
@Consumes("multipart/form-data")
public void aprovarCompra...
I created an API in Typescript, soon.
And I would like to know how to publish it in NPMjs, I know it has how to publish because Angular 2 downloads libs in Typescript.
I do not know what steps to follow to publish. I did not find any examp...
I'm making a connection to the magento, and the connection works fine, but when I do the function I get the message
'ReferenceError: callback is not defined'
Follow the Code,
magento.catalogProduct.list(callback);