ste/ste_script.js
/**
 * Function to validate that targets were selected
 *
 * @param chk
 * @returns {Boolean}
 */
Function to validate that targets were selected
@param chk
@returns {Boolean}
Function to validate that targets were selected @param chk @returns { Boolean }
function update_Status(chk) {
  if ($(chk).val() < 1)
    return false;
  if ($(":checkbox:checked").length < 1) {
    alert("Please select a device to update");
    return false;
  }
  return true;
}
function update_Status ( chk ) { if ( $ ( chk ) . val ( ) < 1 ) return false ; if ( $ ( ":checkbox:checked" ) . length < 1 ) { alert ( "Please select a device to update" ) ; return false ; } return true ; }
Function to validate that targets were selected
 @param chk
 @returns {Boolean}
Function to validate that targets were selected @param chk @returns { Boolean }