bobbybrown69
Programmer
I need to know if the value of elms is Null and if Null don't include it in the array. For example if the value of elms["liner_Year4_" + vid] is Null do not include it in the array. Does anyone know how to do this?
var elms = document.forms[0].elements;
var lts =
elms["liner_Year4_" + vid].style,
elms["liner_Year2_" + vid].style,
elms["liner_Make_" + vid].style,
elms["liner_Model_" + vid].style,
elms["liner_Series_" + vid].style,
elms["liner_BodyStyle_" + vid].style,
elms["liner_VINFull_" + vid].style,
elms["liner_VINLast8_" + vid].style,
elms["liner_Miles_" + vid].style,
elms["liner_RetailPrice_" + vid].style,
elms["liner_InternetPrice_" + vid].style,
elms["liner_StockNum_" + vid].style
];
var elms = document.forms[0].elements;
var lts =
elms["liner_Year4_" + vid].style,
elms["liner_Year2_" + vid].style,
elms["liner_Make_" + vid].style,
elms["liner_Model_" + vid].style,
elms["liner_Series_" + vid].style,
elms["liner_BodyStyle_" + vid].style,
elms["liner_VINFull_" + vid].style,
elms["liner_VINLast8_" + vid].style,
elms["liner_Miles_" + vid].style,
elms["liner_RetailPrice_" + vid].style,
elms["liner_InternetPrice_" + vid].style,
elms["liner_StockNum_" + vid].style
];