Questions tagged as 'object'

2
answers

How to pass the Syntax or Semantics written in the text field, to a Textarea

Let's face it, this is more of a doubt than a logical reasoning. I have some input in the HTML page, and it even passes its value (s) to textarea , at the click of a button. Great, so far so good! I developed as I described ab...
asked by 14.05.2016 / 21:21
0
answers

Resolved: How to sort an array of objects without sequentially repeating two specific properties in Javascript?

Good evening guys, I'm breaking my head here, but I could not come up with a solution ... next, I have an array of objects: [ {order: 0, from: 'Birigui', to: 'Penápolis'}, {order: 1, from: 'Birigui', to: 'Araçatuba'}, {order: 2, fr...
asked by 07.12.2018 / 23:10
0
answers

ErrorException (E_ERROR) Trying to get property of non-object

I tried to return the page using backup to solve the problem but I can not. I upload the page and it continues with the same error, I do not know how to resolve. If you have an easier way to get the server to recognize file updates for example,...
asked by 21.11.2018 / 08:21
1
answer

Update component / object Angular 6

I have 3 components that exchange an object with each other, how do I when to update one another also update alone? Example: I have components 1, 2 and 3, 1 calls 2 by passing an object and 2 calls 3 by passing the same object, all this in th...
asked by 24.10.2018 / 19:31
0
answers

Array vs Object, javascript / angularjs

Hello, I'm trying to work with angularjs and I have to do the following; Make a table be populated with some object fields different make a modal appear populated with different fields depending on the type of object that invokes modal....
asked by 03.10.2018 / 22:10
0
answers

How to store an Object in Firebase and use in Ionic 3

I want to store the following data in Firebase and use it in Ionic 3, but I did not find any clear documentation that could help me. Can someone give me a way? Follow the code showing the object inside my home.ts initializeItems(...
asked by 30.08.2018 / 19:50
0
answers

How to use jquery validate with FormData Object

I have a form with 3 fields being one of type file. Validation works perfectly. When I try to send data using ajax, I get the error: "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data". When checking with the...
asked by 09.07.2018 / 06:49
2
answers

Foreach in Javascript

Hello, I have an object in JavaScript and I would like to check if all values of the object keys are different from null , undefined , 0, "" and "". I run each value of my object with forEach , however I want the first...
asked by 04.01.2019 / 14:50