---
title: "web项目中的问题"
author: "primer_2004"
date: "2009-12-24T07:41:10Z"
tags: []
categories: ["Web前端"]
slug: "web"
draft: false
lastmod: "2009-12-24T07:42:00Z"
id: 555443
url: "https://primer-2004.iteye.com/blog/555443"
---

1\. 使用frameset时，struts中的转向问题？

  

    使用form的target属性指定目标frame

2.使用frameset时，frame的src属性指定？

  

    使用frame的location属性进行指定

3.如何在页面上输出js变量的值？

 

    使用document.write()方法

4.Div布局时，struts如何转向？

5.checkbox的集合如何循环访问？

 

   总共chk.length个checkbox,第i个chk\[i].checked的选择状态

6.批量删除时key如何获取及传递？

 

   document.getElementById().rows(i).cell(1).innerText获取table的i行第2列的值，然后用指定分隔符分隔再以字符串形式传递

7.修改时各个字段值如何获取及传递？

 

   document.getElementById().rows(i).cell(1).innerText获取table的i行第2列的值，然后用指定分隔符分隔再以字符串形式传递

8.调用js函数时如何使用el表达式的值？

 

   使用'${myEl}'来获取EL表达式myEl的值