当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·一个简单问题,请大家帮忙    »显示摘要«
    摘要: 在一字符串a中存放另一字符串对象名称,能否根据该变量a的值得到相应字符串对象?该字符串变量a的值是可变的,可能对应不同的字符串对象。 如能实现请告知方法,谢谢。 ......
    摘要: 如上 ......


document 对象

function   changelocation(locationid)  
          {  
          document.myform.Nclassid.length   =   0;    
  .....  
   
  document   对象中有myform这个属性吗?  
  nclassid是数据库里的一个值。

NO.1   作者: xxrl

myform是form元素的名称或者ID,你在那程序中搜索myform肯定是form元素的名称或者ID  
  document.myform.Nclassid.length  
  Nclassid肯定是一个select控件的名字,我知道你的代码主要是什么功能了,联动!  
  你去看看这个!  
  http://www.csdn.net/develop/read_article.asp?id=20679

NO.2   作者: wanderingbird

document.myform.Nclassid.length   =   0  
   
  其中myform是某个form表单的name,  
  Nclassid是这个form的一个对象,可能是text,radio等


 ·include 问题    »显示摘要«
    摘要: 各位,大家好。问问我们在写 #include <stdio.h>时,stdio.h 的寻找顺序是什么? 我知道在/usr/include中。是不是搜索什么环境变量如:ld_library_path,之类的,因为我装了个ace,编译时报 server.cpp:1:31: ace/sock_acceptor.h: no such file or directory s......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE