Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi to all,
I want to add two text box value and store in temporary variable how to do in mvc.Using script.Kindly teach me this task.
Posted

Fiddle[^]
I have worked on this fiddle as per your requirement mentioned.
Hope this helps.
Post back your queries if any.
Thanks.:)
 
Share this answer
 
First you need to do some basic home work from your side to learn any technology. Have a look on the below links which guides you through the basic of scripting arithmetic's.

Its better to read the complete articles.

http://www.w3schools.com/js/js_operators.asp[^]

http://www.w3schools.com/jsref/prop_text_value.asp[^]
 
Share this answer
 
Comments
JOTHI KUMAR Member 10918227 27-Nov-14 5:09am    
im working in mvc i need two add two text-box fields given in view(.chtml).How to add. using jquery
Mathew Soji 27-Nov-14 5:16am    
Please check the below ones.

http://aspsolutionkirit.blogspot.in/2014/01/how-to-get-textboxes-values-created-by.html

http://forums.asp.net/t/1691039.aspx?how+to+set+and+get+value+from+mvc+textbox

http://www.c-sharpcorner.com/Blogs/3716/how-to-set-textbox-value-using-jquery.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900