Questions tagged as 'value'

2
answers

Default Value Dropdown AngularJS

In my project I have a dropdown, iterated from an array. Note that in the array I have a key called default that is set to true or false. I would like the dropdown defalt value to come with the key set to true. If I do this: $scope.nfe.nat...
asked by 02.07.2017 / 22:19
2
answers

Use the result of an array as the value of an insert - PHP

Good evening, I have a question. I'm uploading a file and extracting its contents and inserting into my database, but I'm having a question about using the array as value > My file consists of a sequence of numbers separated by 15 bloc...
asked by 04.03.2017 / 05:34
1
answer

How to make an INSERT in postgresql with conditional default value?

We have the following simplified table for the example: create table teste( id serial not null ); The following commands cause syntax error: insert into teste( select (case when 1=1 then DEFAULT end) );...
asked by 15.02.2017 / 15:13
0
answers

How to calculate + 10.5% in a product

How to calculate + 10.5% on a product? My calculation looks like this: private void txtMargemLucro_Leave(object sender, EventArgs e) { txtPrecoVenda.Text = (Convert.ToDecimal(txtPrecoCusto.Text) * Convert.ToDe...
asked by 22.08.2016 / 07:22
0
answers

What is the behavior when MongoDB reaches the defined maximum value of $ inc?

What is the behavior when Mongo reaches its maximum value for findAndModify with parameters below, how can I reset to 0 when this happens? db.collection('count').findAndModify( { "_id": "xy" }, [["_id", 1]], { $...
asked by 25.07.2015 / 06:55
0
answers

Knowing the value of the CheckBox inside a MultiView / View / DataList

I'd like to know how I could end the value of a checkbox which in turn is inside a DataList that is inserted inside a View and the latter within a MultiView . I tried some methods FindControl but without succ...
asked by 24.06.2015 / 00:35
2
answers

Get the value of a field

I'm starting the studies with pure JavaScript, to practice better I created a table as if they were ordering from a pizzeria, and I put some field (taste, quantity and value). At the end of the line I have a "+" button. The idea is that when I...
asked by 28.08.2018 / 04:26
2
answers

How to make multiple values in a single option and retrieve them

I want to know how can I make a list with a specific tab "|" and set more than one value in select-option and retrieve in JavaScript with a split("|") to a variable, something like: <select id="teste"> <option value...
asked by 27.01.2017 / 09:00
2
answers

How do I get the values inside an array?

0 => {#557 ▼ +"nis": 1 } 1 => {#561 ▼ +"nis": 16192248487 } I have this array, I want to get the values: 1 and 16192248487 , and throw them in a variable to give dd and print them on the screen and show only:...
asked by 06.12.2017 / 14:17