Posts by Vinicius Melo • 36 points
6 posts
- 
		1 votes1 answer472 viewsA: Store SQL data in a Javascript arraySince I have no reputation to comment on, I will reply :) That object sql What are you using is which lib? From the calls, it looks like mssql. This: https://github.com/patriksimek/node-mssql If it… 
- 
		0 votes2 answers1102 viewsA: Return only some JSON fields in the request response (Nodejs + Mongoose)Considering that your professional object is an Array of Collections, you can use the JS native map function for this purpose: ProfissionalSchema.find({}, function(erro, profissionais) { if (erro)… 
- 
		0 votes2 answers353 viewsA: Change class and item id when receiving event click with pure javascriptYou can use the method setAttribute to change Id as follows: document.getElementById("fecharMenu").setAttribute("id", "abrirMenu"); In this case, I’m guessing you have a css rule for each menu id:… javascriptanswered Vinicius Melo 36
- 
		0 votes1 answer110 viewsA: different items for each ng repeat AngularjsIn your HTML the arrays telephones and emails are drawn inside the list element that repeats its array Contacts: <li class="contacts" ng-repeat="contact in contacts"> <div class="newPhone"… 
- 
		0 votes2 answers158 viewsA: How to store value in a string object and display that element on another page?You can use the window.localStorage object (see more in https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) With it you will be able to store information on one page and recover on… 
- 
		1 votes1 answer562 viewsA: Error to generate APK in IONIC 3John, Your problem seems to be related to this explanation here: https://stackoverflow.com/questions/171205/java-maximum-memory-on-windows-xp/497757#497757 The JVM is unable to allocate 2gb… ionic3answered Vinicius Melo 36