Login
Preferences
About Trac
Changes between
Version 54
and
Version 55
of
Catalogue
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Jun 27, 2012 12:36:52 AM (
12 years
ago)
Author:
tolix
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
Catalogue
v54
v55
27
27
for(var i = 0; i < form.length; i++) {
28
28
var el = form.elements[i];
29
alert(el.type);
30
totalAmount += getPrice(el) * parseInt(el.value);
29
if( el.type == 'text' ) {
30
totalAmount += getPrice(el) * parseInt(el.value);
31
}
31
32
}
32
33
alert(totalAmount);