Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
JavaScript
$(function () {
           $("#Sale_Unit_Cost").change(function () {
               var d = parseInt($("#Sale_Unit_Cost").val());
               var d1 = parseInt(($(this).val()) * (15 / 100));
               $("#ATTRIBUTE1").val(d + d1);
           });
       })


want to take attribute1 val in telugu
Posted
Updated 28-Apr-15 0:17am
v2
Comments
Sinisa Hajnal 28-Apr-15 6:46am    
You cannot. What you can do is set the font on the element in which you are showing the value. Attribute in your case is a number and as long as no one sees it, it doesn't matter how it is kept. When you need to show it, then format it as you see fit.

Same goes for any other value - you're formatting (font, boldness, size etc) at the view point.

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