*Thanks *
*but when i do that i can't get the value in my api controller ?*
<input type="text" id="Total_Item" value="{{item.sell_price * item.Quantity
| currency}}" />
*so how can i get value there ?*
On Monday, June 15, 2015 at 7:13:02 PM UTC+2, Alain Chautard wrote:
>
> In your HTML, you must have something like that, which you could edit as
> follows:
> <input type=text" id="Total_Item" value="
> *{{item.sell_price * item.Quantity | currency}}*" >
>
> This would work.
>
> On Friday, June 12, 2015 at 6:37:42 PM UTC-7, Ahmed Amen wrote:
>>
>> *Hi*
>>
>> *i need to pass value of:*
>>
>>
>> *{{item.sell_price * item.Quantity | currency}}*
>>
>> *to an input input at runtime to save to database , the input i need to
>> pass value to it is:*
>>
>>
>> * @Html.TextBox("Total_Item", null, new { ng_model = "item.Total_Item" })*
>>
>> *and i need value to be alive like if change the Quantity the must be
>> change in the input as it change in {{item.sell_price * item.Quantity |
>> currency}}*
>>
>> *so please how can i do that with angular ?*
>>
>> *Thanks a lot ...*
>>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.