是否可以从app.js获取jsp变量?

时间:2015-06-24 14:37:32

标签: javascript jquery jsp

在jsp中我有一行function getRowCount() { // move line below // $q = $this->db->get('equipment'); $where = "(archived<>'yes' AND (on_lot<>'yes' OR photographs_uploaded<>'yes') AND sold<>'yes') OR (archived<>'yes' AND sold='yes' AND (final_inspection<>'yes' OR jdlink2_registered<>'yes'))"; $this->db->where($where); // Active record will now clear the WHERE cache after executing get $q = $this->db->get('equipment'); $rowcount = $q->num_rows(); return $rowcount; } 但我想从这个函数的app.js中读取它:

<c:if test="${suspensionInfo.suspended}">

是否可以这样做?

0 个答案:

没有答案