API-界面

1) getPickerAction使用的html片段

<form>

      <input type="text" name="keyword" />

</form>

NOTE:

1) 所有表单元素请包含在唯一的form

2) form不需要其它参数,避免此片段中出现多个form

 

2) getPortAction使用的html片段

<table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tbody>

                  <tr>

                             <th>字段一:</th>

                             <td><input type="text" name="options[field1]" value="<?=$options['field1']?>" /></td>

                  </tr>

                  <tr>

                             <th>字段二:</th>

                             <td><input type="text" name="options[field2]" value="<?=$options['field2']?>" /></td>

                  </tr>

      </tbody>

</table>

NOTE:

1)    name 名称包含在options数组中

2)    所有表单不需要包含在form表单中,因为此片段将插入存在的form

3)    每个表单请给予动态赋值

 



Copyright ©2009 - 2014 CmsTop.Com.All rights reserved.
思拓合众