Thanks a lot for your help. I've try to split the number on the decimal but I can't make it work. Can you give me more hints on how to get the decimal part working?
Thanks in advance.
Thanks a lot.
I have figure out a way (I got this idea from one of the thread in this forum)to do this. Not sure will it work fine, so far so good. Let me know if this is not the right way to do it.
function calsubtotal(cnt,qtyv,up)
{
var val2= 'subtot'+cnt;
var subtot;
function...
I have generated a list of items from the table with unit cost.
item# UnitCsot Qty subtotal
item1 2.00 user input javascript to calculate
item2 0.30 user input
.
.
.
item 10 3.15 user input ....
Is there a way to dynamically calculate the grand total from the subtotal input boxes?
if...
Hi All,
I have this question:
dim mth1, mth2
dim yr1, yr2
suppose:
mth1=1, yr1=2001
mth2=5, yr2=2003
How can I get the last day of the month given mth1=1 (January)?
how to retrieve all the records from table ndata where
ndate > 1/1/2001 and ndate < 5/31/2003?
thanks.
If I am going to write an application (for data collection/entry, with SQL server database as backend) for windowCE, how can I do that? What language should I use?
All the input boxes are dynamically generated. For example, in one form, item1 has min, ave and max value, item2 has only min and ave value; and item3 has only min value. (and there may have n-number on item in one form, and various combination of values(min, ave, max) for each item.). How can...
I have a form which generate the input box dynamically according to the data in the database. When
submitting the form (js function), how can I check if the input box is filled?
if not rs1.EOF then
Response.Write "<TABLE align=center frame=""below"" cellPadding=1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.