Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var i = 0;
- while (typeof document.getElementById("sub_total_" + i) != "undefined") {
- var obj_sub_total = document.getElementById("sub_total_" + i);
- if (obj_sub_total != "undefined") {
- if (fr.order_method_id.value == 1) {
- obj_sub_total.style.visibility = "visble";
- } else {
- obj_sub_total.style.visibility = "hidden";
- }
- }
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement