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

 

 ·关于sql查询的问题    »显示摘要«
    摘要: 我怎莫实现像sql2000中一样的模糊查询? 例:select * from t_goods where goodsno=:p_goodsno or :=p_goodsno =%; (goodsno是表t_goods中的一个字段,:p_goodsno是参数) 这条语句在sql下可执行,但在delphi中却把:=p_goodsno当成了一个新的参数, 这样一来,我就不能把所有满足条件的记录筛......
 ·哪里错了    »显示摘要«
    摘要: 部分源吗: <%! string stusub1 = ""; string stusub2 = ""; resultset rs1 = null; int id2=integer.parseint(request.getquerystring("id")); %> <% try{ rs1= workm.exe......


一个幼稚的问题

this代表什么??用在哪里??  
   
  和document有什么区别??  
   
   
  this.options[this.selectedIndex].index--〉   可以访问属性  
   
  而在javascript中  
  document.Form_add.lm.selectedIndex.index-->   无法访问index属性,只能访问到selectedIndex  
   
  请解答困惑!!~~

NO.1   作者: wfnuser

THIS代表的是自己.  
  selectedindex表示当前选中的选项

NO.2   作者: cpp2017

this代码当前对象  
  上面这两个代码不是一回事,如果document.Form_add.lm为一个   select   的话  
  这样写  
  document.Form_add.lm.options[document.Form_add.lm.selectedIndex].index

NO.3   作者: meizz

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtmlrefs.asp


 ·:怎样锁定和释放鼠标    »显示摘要«
    摘要: 怎样锁定和释放鼠标?即让鼠标不可用和可用。 ......
» 本期热门文章:

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